Skip to content

Commit 9004904

Browse files
authored
Merge pull request #37373 from windsonsea/topspre
fix alignment in topology-spread-constraints.md
2 parents 3424564 + e039acd commit 9004904

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

content/en/docs/concepts/scheduling-eviction/topology-spread-constraints.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ and you'd like the cluster to self-heal in the case that there is a problem.
4545

4646
Pod topology spread constraints offer you a declarative way to configure that.
4747

48-
4948
## `topologySpreadConstraints` field
5049

5150
The Pod API includes a field, `spec.topologySpreadConstraints`. The usage of this field looks like
@@ -202,7 +201,6 @@ You can't make a reliable assumption about the meaning of a private label key
202201
between different contexts.
203202
{{< /note >}}
204203

205-
206204
Suppose you have a 4-node cluster with the following labels:
207205

208206
```
@@ -580,7 +578,8 @@ or more scattered.
580578

581579
`podAffinity`
582580
: attracts Pods; you can try to pack any number of Pods into qualifying
583-
topology domain(s)
581+
topology domain(s).
582+
584583
`podAntiAffinity`
585584
: repels Pods. If you set this to `requiredDuringSchedulingIgnoredDuringExecution` mode then
586585
only a single Pod can be scheduled into a single topology domain; if you choose
@@ -616,7 +615,6 @@ section of the enhancement proposal about Pod topology spread constraints.
616615
Pod topology spread constraints and is also aware of the overall set of topology
617616
domains.
618617

619-
620618
## {{% heading "whatsnext" %}}
621619

622620
- The blog article [Introducing PodTopologySpread](/blog/2020/05/introducing-podtopologyspread/)

0 commit comments

Comments
 (0)