File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
helm/soperator-activechecks/templates Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2525 CRD_KIND="activechecks.slurm.nebius.ai"
2626
2727 echo "Fetching ActiveCheck list..."
28- # Only wait for checks that run on creation and have drainSlurmNode configured .
28+ # Only wait for checks that run on creation and ignore flappy comment-only checks .
2929 active_check_names=$(kubectl get "$CRD_KIND" -n "$NAMESPACE" -o json \
30- | jq -r '.items[] | select(.spec.runAfterCreation == true and .spec.failureReactions.drainSlurmNode ! = null) | .metadata.name')
30+ | jq -r '.items[] | select(.spec.runAfterCreation == true and .spec.failureReactions.commentSlurmNode = = null) | .metadata.name')
3131
3232 if [ -z "$active_check_names" ]; then
3333 echo "No CRs with runAfterCreation=true found. Exiting."
You can’t perform that action at this time.
0 commit comments