Resolve formatting issue and add example for node affinity example.
This commit is contained in:
parent
b7e1c2a041
commit
489e938f1c
|
@ -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>}}
|
||||
|
|
Loading…
Reference in New Issue