Skip to content

Commit 73a188f

Browse files
authored
Merge pull request #22510 from danielkucera/patch-1
fix example for PodTolerationRestriction annotation
2 parents 896034c + 74dbe5d commit 73a188f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/en/docs/reference/access-authn-authz/admission-controllers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -706,8 +706,8 @@ kind: Namespace
706706
metadata:
707707
name: apps-that-need-nodes-exclusively
708708
annotations:
709-
scheduler.alpha.kubernetes.io/defaultTolerations: '{"operator": "Exists", "effect": "NoSchedule", "key": "dedicated-node"}'
710-
scheduler.alpha.kubernetes.io/tolerationsWhitelist: '{"operator": "Exists", "effect": "NoSchedule", "key": "dedicated-node"}'
709+
scheduler.alpha.kubernetes.io/defaultTolerations: '[{"operator": "Exists", "effect": "NoSchedule", "key": "dedicated-node"}]'
710+
scheduler.alpha.kubernetes.io/tolerationsWhitelist: '[{"operator": "Exists", "effect": "NoSchedule", "key": "dedicated-node"}]'
711711
```
712712

713713
### Priority {#priority}
@@ -793,4 +793,4 @@ phase, and therefore is the last admission controller to run.
793793
in the mutating phase.
794794

795795
For earlier versions, there was no concept of validating versus mutating and the
796-
admission controllers ran in the exact order specified.
796+
admission controllers ran in the exact order specified.

0 commit comments

Comments
 (0)