Skip to content

Commit 7cb3dbe

Browse files
authored
Add example
1 parent e58e5cc commit 7cb3dbe

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,8 @@ You should **not** manually add or remove this annotation.
457457

458458
### scheduler.alpha.kubernetes.io/defaultTolerations {#scheduleralphakubernetesio-defaulttolerations}
459459

460+
Example: `scheduler.alpha.kubernetes.io/defaultTolerations: '[{"operator": "Equal", "value": "value1", "effect": "NoSchedule", "key": "dedicated-node"}]'`
461+
460462
Used on: Namespace
461463

462464
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.

0 commit comments

Comments
 (0)