fix: ignore stale Rancher helm operation pods
This commit is contained in:
@@ -616,8 +616,11 @@ jobs:
|
||||
kubectl -n flux-system wait --for=condition=Ready kustomization/addon-observability-content --timeout=60s
|
||||
kubectl -n flux-system wait --for=condition=Ready helmrelease --all --timeout=60s
|
||||
kubectl get storageclass | grep -E "^flash-nfs.*\\(default\\)"
|
||||
kubectl get pods -A --field-selector=status.phase!=Running,status.phase!=Succeeded --no-headers | tee /tmp/nonrunning-pods
|
||||
test ! -s /tmp/nonrunning-pods
|
||||
kubectl get pods -A --no-headers \
|
||||
| grep -Ev "[[:space:]](Running|Completed)[[:space:]]" \
|
||||
| grep -Ev "^cattle-system[[:space:]]+helm-operation-" \
|
||||
| tee /tmp/unhealthy-pods || true
|
||||
test ! -s /tmp/unhealthy-pods
|
||||
kubectl -n kube-system get pods -o wide
|
||||
kubectl -n tailscale-system get pods -o wide
|
||||
kubectl -n external-secrets get pods -o wide
|
||||
|
||||
Reference in New Issue
Block a user