Skip to content

Commit 893aeec

Browse files
committed
gix missed identation caused by lint
1 parent ba7708f commit 893aeec

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

content/en/docs/concepts/workloads/pods/pod-topology-spread-constraints.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -168,21 +168,21 @@ There are some implicit conventions worth noting here:
168168

169169
- If the incoming Pod has `spec.nodeSelector` or `spec.affinity.nodeAffinity` defined, nodes not matching them will be bypassed.
170170

171-
Suppose you have a 5-node cluster ranging from zoneA to zoneC:
171+
Suppose you have a 5-node cluster ranging from zoneA to zoneC:
172172

173-
```
174-
+---------------+---------------+-------+
175-
| zoneA | zoneB | zoneC |
176-
+-------+-------+-------+-------+-------+
177-
| node1 | node2 | node3 | node4 | node5 |
178-
+-------+-------+-------+-------+-------+
179-
| P | P | P | | |
180-
+-------+-------+-------+-------+-------+
181-
```
173+
```
174+
+---------------+---------------+-------+
175+
| zoneA | zoneB | zoneC |
176+
+-------+-------+-------+-------+-------+
177+
| node1 | node2 | node3 | node4 | node5 |
178+
+-------+-------+-------+-------+-------+
179+
| P | P | P | | |
180+
+-------+-------+-------+-------+-------+
181+
```
182182

183-
and you know that "zoneC" must be excluded. In this case, you can compose the yaml as below, so that "mypod" will be placed onto "zoneB" instead of "zoneC". Similarly `spec.nodeSelector` is also respected.
183+
and you know that "zoneC" must be excluded. In this case, you can compose the yaml as below, so that "mypod" will be placed onto "zoneB" instead of "zoneC". Similarly `spec.nodeSelector` is also respected.
184184

185-
{{< codenew file="pods/topology-spread-constraints/one-constraint-with-nodeaffinity.yaml" >}}
185+
{{< codenew file="pods/topology-spread-constraints/one-constraint-with-nodeaffinity.yaml" >}}
186186

187187
### Cluster-level default constraints
188188

0 commit comments

Comments
 (0)