From f3731c8ae25daf8ecc66655b0b1724c42456e118 Mon Sep 17 00:00:00 2001 From: theycallmeloki Date: Wed, 17 Jul 2024 18:37:41 +0530 Subject: [PATCH] Update k3s.sh --- Kubernetes/Kubernetes-Lite/k3s.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kubernetes/Kubernetes-Lite/k3s.sh b/Kubernetes/Kubernetes-Lite/k3s.sh index 3f5fd3e..4687983 100644 --- a/Kubernetes/Kubernetes-Lite/k3s.sh +++ b/Kubernetes/Kubernetes-Lite/k3s.sh @@ -184,6 +184,8 @@ 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 +# Apply the ip address pool +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