Skip to content

Commit f0fa2f2

Browse files
authored
Merge pull request #47828 from xenolinux/BZ622
BZ2103622: Removes the spec.template.spec.toleration for a pod
2 parents ea1db52 + 240e555 commit f0fa2f2

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

modules/nodes-scheduler-taints-tolerations-special.adoc

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,12 @@ For example:
2222
[source,yaml]
2323
----
2424
spec:
25-
....
26-
template:
27-
....
28-
spec:
29-
tolerations:
30-
- key: "disktype"
31-
value: "ssd"
32-
operator: "Equal"
33-
effect: "NoSchedule"
34-
tolerationSeconds: 3600
25+
tolerations:
26+
- key: "disktype"
27+
value: "ssd"
28+
operator: "Equal"
29+
effect: "NoSchedule"
30+
tolerationSeconds: 3600
3531
----
3632

3733
. Taint the nodes that have the specialized hardware using one of the following commands:

0 commit comments

Comments
 (0)