Koschei: set labelSelector for topology spread constraints

This commit is contained in:
Mikolaj Izdebski 2024-06-05 08:24:04 +02:00
parent cd83c74314
commit 4d1cc6f752

View file

@ -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