You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This label or annotation stores the name of the replicated job that this Job or Pod is part of.
2584
+
2585
+
### jobset.sigs.k8s.io/job-index
2586
+
2587
+
Type: Label, Annotation
2588
+
2589
+
Example: `jobset.sigs.k8s.io/job-index: "0"`
2590
+
2591
+
Used on: Jobs, Pods
2592
+
2593
+
This label/annotation is set by the JobSet controller on child Jobs and Pods. It contains the index of the Job replica within its parent ReplicatedJob.
This label/annotation can be applied to a JobSet. When it's set, the JobSet controller modifies the Jobs and their corresponding Pods by adding node selectors. This ensures exclusive job placement per topology domain, restricting the scheduling of these Pods to specific nodes based on the strategy.
The JobSet controller adds this label/annotation to Jobs and Pods that are part of a JobSet. It stores the namespaced Job name, which is used for logging and event management within the JobSet context.
0 commit comments