update
This commit is contained in:
parent
acc1f3067c
commit
dd682a0703
|
@ -40,7 +40,7 @@ user=ubuntu
|
||||||
interface=eth0
|
interface=eth0
|
||||||
|
|
||||||
# Set the virtual IP address (VIP)
|
# Set the virtual IP address (VIP)
|
||||||
vip=192.168.1.50
|
vip=192.168.3.50
|
||||||
|
|
||||||
# Array of master nodes
|
# Array of master nodes
|
||||||
masters=($master2 $master3)
|
masters=($master2 $master3)
|
||||||
|
@ -55,7 +55,7 @@ all=($master1 $master2 $master3 $worker1 $worker2)
|
||||||
allnomaster1=($master2 $master3 $worker1 $worker2)
|
allnomaster1=($master2 $master3 $worker1 $worker2)
|
||||||
|
|
||||||
#Loadbalancer IP range
|
#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
|
#ssh certificate name variable
|
||||||
certName=id_rsa
|
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
|
curl -sO https://raw.githubusercontent.com/JamesTurland/JimsGarage/main/Kubernetes/K3S-Deploy/ipAddressPool
|
||||||
cat ipAddressPool | sed 's/$lbrange/'$lbrange'/g' > $HOME/ipAddressPool.yaml
|
cat ipAddressPool | sed 's/$lbrange/'$lbrange'/g' > $HOME/ipAddressPool.yaml
|
||||||
kubectl apply -f 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
|
# Step 9: Test with Nginx
|
||||||
kubectl apply -f https://raw.githubusercontent.com/inlets/inlets-operator/master/contrib/nginx-sample-deployment.yaml -n default
|
kubectl apply -f https://raw.githubusercontent.com/inlets/inlets-operator/master/contrib/nginx-sample-deployment.yaml -n default
|
||||||
|
|
Loading…
Reference in New Issue