Skip to content

Commit 2e6db34

Browse files
authored
Merge branch 'Rishit-dagli-patch-1' into Rishit-dagli-defaultTolerations
2 parents 03d464a + 7cb3dbe commit 2e6db34

File tree

1 file changed

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

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,14 @@ The presence of this annotation on a Job indicates that the control plane is
455455
[tracking the Job status using finalizers](/docs/concepts/workloads/controllers/job/#job-tracking-with-finalizers).
456456
You should **not** manually add or remove this annotation.
457457

458+
### scheduler.alpha.kubernetes.io/defaultTolerations {#scheduleralphakubernetesio-defaulttolerations}
459+
460+
Example: `scheduler.alpha.kubernetes.io/defaultTolerations: '[{"operator": "Equal", "value": "value1", "effect": "NoSchedule", "key": "dedicated-node"}]'`
461+
462+
Used on: Namespace
463+
464+
This annotation requires the [PodTolerationRestriction](/docs/reference/access-authn-authz/admission-controllers/#podtolerationrestriction) admission controller to be enabled. This annotation key allows assigning tolerations to a namespace and any new pods created in this namespace would get this toleration.
465+
458466
### scheduler.alpha.kubernetes.io/preferAvoidPods (deprecated) {#scheduleralphakubernetesio-preferavoidpods}
459467

460468
Used on: Nodes

0 commit comments

Comments
 (0)