Skip to content

Commit a94c5e7

Browse files
committed
Clarify the namespaced-job label on nodes
1 parent c68175e commit a94c5e7

File tree

1 file changed

+5
-5
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+5
-5
lines changed

content/en/docs/reference/labels-annotations-taints/_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2605,7 +2605,7 @@ Pods of a JobSet. The value is the SHA256 hash of the namespaced Job name.
26052605

26062606
### alpha.jobset.sigs.k8s.io/exclusive-topology
26072607

2608-
Type: Label, Annotation
2608+
Type: Annotation
26092609

26102610
Example: `alpha.jobset.sigs.k8s.io/exclusive-topology: "zone"`
26112611

@@ -2617,13 +2617,13 @@ template. Read the documentation for JobSet to learn more.
26172617

26182618
### alpha.jobset.sigs.k8s.io/node-selector
26192619

2620-
Type: Label, Annotation
2620+
Type: Annotation
26212621

26222622
Example: `alpha.jobset.sigs.k8s.io/node-selector: "true"`
26232623

26242624
Used on: Jobs, Pods
26252625

2626-
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.
2626+
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 and tolerations. This ensures exclusive job placement per topology domain, restricting the scheduling of these Pods to specific nodes based on the strategy.
26272627

26282628
### alpha.jobset.sigs.k8s.io/namespaced-job
26292629

@@ -2633,7 +2633,7 @@ Example: `alpha.jobset.sigs.k8s.io/namespaced-job: "default_myjobset-replicatedj
26332633

26342634
Used on: Nodes
26352635

2636-
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.
2636+
This label is either set manually or automatically (for example, a cluster autoscaler) on the nodes. When `alpha.jobset.sigs.k8s.io/node-selector` is set to `"true"`, the JobSet controller adds a nodeSelector to this node label (along with the toleration to the taint `alpha.jobset.sigs.k8s.io/no-schedule` disucssed next).
26372637

26382638
### alpha.jobset.sigs.k8s.io/no-schedule
26392639

@@ -2643,7 +2643,7 @@ Example: `alpha.jobset.sigs.k8s.io/no-schedule: "NoSchedule"`
26432643

26442644
Used on: Nodes
26452645

2646-
The [JobSet](https://jobset.sigs.k8s.io) controller uses this taint to support its node labeling exclusive placement strategy.
2646+
This taint is either set manually or automatically (for example, a cluster autoscaler) on the nodes. When `alpha.jobset.sigs.k8s.io/node-selector` is set to `"true"`, the JobSet controller adds a toleration to this node taint (along with the node selector to the label `alpha.jobset.sigs.k8s.io/namespaced-job` disucssed previously).
26472647

26482648
### jobset.sigs.k8s.io/coordinator
26492649

0 commit comments

Comments
 (0)