Koschei: set labelSelector for topology spread constraints
This commit is contained in:
parent
cd83c74314
commit
4d1cc6f752
1 changed files with 4 additions and 1 deletions
|
@ -51,6 +51,9 @@ spec:
|
|||
secret:
|
||||
secretName: frontend-config
|
||||
topologySpreadConstraints:
|
||||
- topologyKey: kubernetes.io/hostname
|
||||
- labelSelector:
|
||||
matchLabels:
|
||||
service: frontend
|
||||
topologyKey: kubernetes.io/hostname
|
||||
maxSkew: 1
|
||||
whenUnsatisfiable: ScheduleAnyway
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue