From 5141781330cc6ab85f27a6272d3b189c790308f5 Mon Sep 17 00:00:00 2001 From: James Turland Date: Sun, 3 Dec 2023 23:19:52 +0000 Subject: [PATCH] update --- Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh b/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh index 6703b73..73f7151 100644 --- a/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh +++ b/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh @@ -178,8 +178,6 @@ 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 ipAddressPool.yaml -kubectl apply -f https://raw.githubusercontent.com/JamesTurland/JimsGarage/main/Kubernetes/K3S-Deploy/l2Advertisement.yaml # Step 9: Test with Nginx kubectl apply -f https://raw.githubusercontent.com/inlets/inlets-operator/master/contrib/nginx-sample-deployment.yaml -n default @@ -191,6 +189,10 @@ while [[ $(kubectl get pods -l app=nginx -o 'jsonpath={..status.conditions[?(@.t sleep 1 done +# Step 10: Deploy IP Pools and l2Advertisement +kubectl apply -f ipAddressPool.yaml +kubectl apply -f https://raw.githubusercontent.com/JamesTurland/JimsGarage/main/Kubernetes/K3S-Deploy/l2Advertisement.yaml + kubectl get nodes kubectl get svc kubectl get pods --all-namespaces -o wide