We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4321933 commit d64a1ddCopy full SHA for d64a1dd
addons/upgrade.jps
@@ -77,8 +77,8 @@ onInstall:
77
actions:
78
check-cluster-status:
79
- cmd[${nodes.k8sm.master.id}]: |-
80
- for cluster_comp in "Kubernetes control plane" "KubeDNS"; do
81
- echo "$(TERM=dumb kubectl cluster-info 2>/dev/null)" | grep -q "${cluster_comp} is running" || echo "false";
+ for cluster_comp in "^Kubernetes control plane" "^(KubeDNS|CoreDNS)"; do
+ echo "$(TERM=dumb kubectl cluster-info 2>/dev/null)" | grep -Eq "${cluster_comp} is running" || echo "false";
82
done
83
- set:
84
k8s_cluster_status: ${response.out}
0 commit comments