diff --git a/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh b/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh index 6006488..6703b73 100644 --- a/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh +++ b/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh @@ -40,7 +40,7 @@ user=ubuntu interface=eth0 # Set the virtual IP address (VIP) -vip=192.168.1.50 +vip=192.168.3.50 # Array of master nodes masters=($master2 $master3) @@ -55,7 +55,7 @@ all=($master1 $master2 $master3 $worker1 $worker2) allnomaster1=($master2 $master3 $worker1 $worker2) #Loadbalancer IP range -lbrange=192.168.1.61-192.168.1.79 +lbrange=192.168.3.60-192.168.3.80 #ssh certificate name variable certName=id_rsa @@ -179,6 +179,7 @@ kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.12/conf 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