You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO check if affinity is required; For now, assume yes
74
-
# TODO check if worker nodes are needed; For now, assume yes
73
+
# wait for metrics-server to be running
74
+
kubectl get po -l k8s-app=metrics-server -n kube-system
75
+
printf"waiting for metrics server to be ready: "
76
+
while [[ $(kubectl get po -l k8s-app=metrics-server -n kube-system -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}'2>/dev/null)!="True" ]];doprintf"."&& sleep 5;done
# wait for ingres to be ready before creating worker nodes
77
83
printf"waiting for ingress-controller-nginx to be ready: "
78
-
while [[ $(kubectl get po -l app.kubernetes.io/name=ingress-nginx -n kube-system -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}')!="True" ]];doprintf"."&& sleep 5;done
79
-
echo
84
+
while [[ $(kubectl get po -l app.kubernetes.io/name=ingress-nginx -n ingress-nginx -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}')!="True" ]];doprintf"."&& sleep 5;done
85
+
echo""
86
+
87
+
# Assume affinity is required => create 3 labeled worker nodes for the application
0 commit comments