mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-22 07:50:19 +00:00
update
This commit is contained in:
parent
1ed2dcb049
commit
52ed6b908f
2 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ cat ipAddressPool | sed 's/$lbrange/'$lbrange'/g' > $HOME/ipAddressPool.yaml
|
||||||
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
|
||||||
kubectl expose deployment nginx-1 --port=80 --type=LoadBalancer -n default
|
kubectl expose deployment nginx-1 --port=80 --type=LoadBalancer -n default
|
||||||
|
|
||||||
echo -e " \033[32;5mWaiting 20s for K3S to sync and LoadBalancer to come online\033[0m"
|
echo -e " \033[32;5mWaiting for K3S to sync and LoadBalancer to come online\033[0m"
|
||||||
|
|
||||||
while [[ $(kubectl get pods -l app=nginx -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do
|
while [[ $(kubectl get pods -l app=nginx -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
|
@ -47,7 +47,7 @@ spec:
|
||||||
- name: vip_ddns
|
- name: vip_ddns
|
||||||
value: "false"
|
value: "false"
|
||||||
- name: svc_enable
|
- name: svc_enable
|
||||||
value: "true"
|
value: "false"
|
||||||
- name: svc_leasename
|
- name: svc_leasename
|
||||||
value: plndr-svcs-lock
|
value: plndr-svcs-lock
|
||||||
- name: vip_leaderelection
|
- name: vip_leaderelection
|
||||||
|
|
Loading…
Reference in a new issue