Merge pull request #30210 from voor/pod-topology-spread-constraints-fix-formatting-example
Pod Topology Spread Constraints: Resolve formatting issue and add example for node affinity example.
This commit is contained in:
@@ -234,6 +234,8 @@ To overcome this situation, you can either increase the `maxSkew` or modify one
|
||||
|
||||
The scheduler will skip the non-matching nodes from the skew calculations if the incoming Pod has `spec.nodeSelector` or `spec.affinity.nodeAffinity` defined.
|
||||
|
||||
### Example: TopologySpreadConstraints with NodeAffinity
|
||||
|
||||
Suppose you have a 5-node cluster ranging from zoneA to zoneC:
|
||||
|
||||
{{<mermaid>}}
|
||||
|
||||
Reference in New Issue
Block a user