File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ while true; do
40
40
# Suppress errors from kubectl output because during cluster bootstrapping
41
41
# for clusters where the master node is registered, the apiserver will become
42
42
# available and then get restarted as the kubelet configures the docker bridge.
43
- nodes_status=$( " ${KUBE_ROOT} /cluster/kubectl.sh" get nodes -o template --template=' {{range .items}}{{with index .status.conditions 0}}{{.type}}:{{.status}},{{end}}{{end}}' --api-version=v1)
43
+ nodes_status=$( " ${KUBE_ROOT} /cluster/kubectl.sh" get nodes -o template --template=' {{range .items}}{{with index .status.conditions 0}}{{.type}}:{{.status}},{{end}}{{end}}' --api-version=v1) || true
44
44
found=$( echo " ${nodes_status} " | tr " ," " \n" | grep -c ' Ready:' ) || true
45
45
ready=$( echo " ${nodes_status} " | tr " ," " \n" | grep -c ' Ready:True' ) || true
46
46
You can’t perform that action at this time.
0 commit comments