Merge pull request #9577 from microsoft/saulparedes/topology

genpolicy: add topologySpreadConstraints support
This commit is contained in:
Wainer Moschetta
2024-07-02 11:24:26 -03:00
committed by GitHub
2 changed files with 30 additions and 0 deletions

View File

@@ -27,3 +27,7 @@ spec:
securityContext:
seccompProfile:
type: RuntimeDefault
topologySpreadConstraints:
- maxSkew: 2
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway