From c83a164925291963380f5d9400cdeae085fc622e Mon Sep 17 00:00:00 2001 From: Marc Date: Wed, 21 Feb 2024 18:56:41 +0100 Subject: [PATCH] Update k3s.sh apply ipAdressPool.yaml the ip addresses never gets applied, this should fix it --- Kubernetes/K3S-Deploy/k3s.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Kubernetes/K3S-Deploy/k3s.sh b/Kubernetes/K3S-Deploy/k3s.sh index 2319e47..7b7f29c 100644 --- a/Kubernetes/K3S-Deploy/k3s.sh +++ b/Kubernetes/K3S-Deploy/k3s.sh @@ -179,6 +179,7 @@ kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.12/conf # Download ipAddressPool and configure using lbrange above curl -sO https://raw.githubusercontent.com/JamesTurland/JimsGarage/main/Kubernetes/K3S-Deploy/ipAddressPool cat ipAddressPool | sed 's/$lbrange/'$lbrange'/g' > $HOME/ipAddressPool.yaml +kubectl apply -f $HOME/ipAddressPool.yaml # Step 9: Test with Nginx kubectl apply -f https://raw.githubusercontent.com/inlets/inlets-operator/master/contrib/nginx-sample-deployment.yaml -n default