Merge pull request #34260 from Rishit-dagli/Rishit-dagli-defaultTolerations
Register and document scheduler.alpha.kubernetes.io/defaultTolerations annotation
This commit is contained in:
commit
9c3479be01
|
|
@ -502,6 +502,14 @@ The presence of this annotation on a Job indicates that the control plane is
|
|||
[tracking the Job status using finalizers](/docs/concepts/workloads/controllers/job/#job-tracking-with-finalizers).
|
||||
You should **not** manually add or remove this annotation.
|
||||
|
||||
### scheduler.alpha.kubernetes.io/defaultTolerations {#scheduleralphakubernetesio-defaulttolerations}
|
||||
|
||||
Example: `scheduler.alpha.kubernetes.io/defaultTolerations: '[{"operator": "Equal", "value": "value1", "effect": "NoSchedule", "key": "dedicated-node"}]'`
|
||||
|
||||
Used on: Namespace
|
||||
|
||||
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 these tolerations added.
|
||||
|
||||
### scheduler.alpha.kubernetes.io/preferAvoidPods (deprecated) {#scheduleralphakubernetesio-preferavoidpods}
|
||||
|
||||
Used on: Nodes
|
||||
|
|
|
|||
Loading…
Reference in New Issue