Merge pull request #20664 from fancc/taint

fix some document format errors
This commit is contained in:
Kubernetes Prow Robot
2020-04-30 00:00:26 -07:00
committed by GitHub
@@ -69,7 +69,7 @@ to schedule onto `node1`:
--> -->
您可以在 PodSpec 中为容器设定容忍标签。以下两个容忍标签都与上面的 `kubectl taint` 创建的污点“匹配”, 您可以在 PodSpec 中为容器设定容忍标签。以下两个容忍标签都与上面的 `kubectl taint` 创建的污点“匹配”,
因此具有任一容忍标签的Pod都可以将其调度到 node1上: 因此具有任一容忍标签的Pod都可以将其调度到 `node1` 上:
```yaml ```yaml
tolerations: tolerations:
@@ -172,7 +172,7 @@ kubectl taint nodes node1 key2=value2:NoSchedule
<!-- <!--
And a pod has two tolerations: And a pod has two tolerations:
--> -->
然后存在一个 pod,它有两个 toleration 然后存在一个 pod,它有两个 toleration
```yaml ```yaml
tolerations: tolerations: