1
0
forked from k-space/kube

monitoring: Move to topologySpreadConstraints

This commit is contained in:
2024-08-21 07:11:06 +03:00
parent 3280b25a83
commit f1a2051838
6 changed files with 44 additions and 30 deletions

View File

@@ -77,6 +77,13 @@ spec:
envFrom:
- secretRef:
name: mikrotik-exporter
topologySpreadConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: mikrotik-exporter
nodeSelector:
dedicated: monitoring
tolerations: