fix: ignore stale install hook pods in health check
This commit is contained in:
@@ -630,6 +630,8 @@ jobs:
|
|||||||
kubectl get pods -A --no-headers \
|
kubectl get pods -A --no-headers \
|
||||||
| grep -Ev "[[:space:]](Running|Completed)[[:space:]]" \
|
| grep -Ev "[[:space:]](Running|Completed)[[:space:]]" \
|
||||||
| grep -Ev "^cattle-system[[:space:]]+helm-operation-" \
|
| grep -Ev "^cattle-system[[:space:]]+helm-operation-" \
|
||||||
|
| grep -Ev "^cattle-resources-system[[:space:]]+rancher-backup-patch-sa-" \
|
||||||
|
| grep -Ev "^kube-system[[:space:]]+helm-install-" \
|
||||||
| tee /tmp/unhealthy-pods || true
|
| tee /tmp/unhealthy-pods || true
|
||||||
test ! -s /tmp/unhealthy-pods
|
test ! -s /tmp/unhealthy-pods
|
||||||
kubectl -n kube-system get pods -o wide
|
kubectl -n kube-system get pods -o wide
|
||||||
|
|||||||
Reference in New Issue
Block a user