Skip to content

Commit 52e713e

Browse files
authored
[DOC]doc update in deployment-templet (#858)
1 parent c3d0ab4 commit 52e713e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/user-guide/creating-application/deployment-template.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -310,17 +310,17 @@ Value part of the label for node selection, this should be same as that on node.
310310

311311
```yaml
312312
tolerations:
313-
key: "key"
314-
operator: "Equal"
315-
value: "value"
316-
effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
313+
- key: "key"
314+
operator: "Equal"
315+
value: "value"
316+
effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
317317
```
318318

319319
Taints are the opposite, they allow a node to repel a set of pods.
320320

321321
A given pod can access the given node and avoid the given taint only if the given pod satisfies a given taint.
322322

323-
Taints and tolerations work together to ensure that pods are not scheduled onto the inappropriate nodes. One or more taints can be applied to a node, this marks that the node should not accept any pods that don't tolerate the taints.
323+
Taints and tolerations are a mechanism which work together that allows you to ensure that pods are not placed on inappropriate nodes. Taints are added to nodes, while tolerations are defined in the pod specification. When you taint a node, it will repel all the pods except those that have a toleration for that taint. A node can have one or many taints associated with it.
324324

325325
### Arguments
326326

0 commit comments

Comments
 (0)