Skip to content

Commit c39b907

Browse files
Merge pull request #2306 from nebius/chessprofessor/ignore-comment-checks-in-wait-for-checks-job
SCHED-1135 Ignore comment checks in wait-for-checks-job
2 parents a22176f + 5e73402 commit c39b907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm/soperator-activechecks/templates/wait-for-checks-job.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ spec:
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."

0 commit comments

Comments
 (0)