forked from k-space/kube
passmower: Add topologySpreadConstraints
This commit is contained in:
parent
7c16f84200
commit
7aa26ea236
@ -23,6 +23,14 @@ spec:
|
|||||||
key: password
|
key: password
|
||||||
name: dragonfly-auth
|
name: dragonfly-auth
|
||||||
replicas: 3
|
replicas: 3
|
||||||
|
topologySpreadConstraints:
|
||||||
|
- maxSkew: 1
|
||||||
|
topologyKey: topology.kubernetes.io/zone
|
||||||
|
whenUnsatisfiable: DoNotSchedule
|
||||||
|
labelSelector:
|
||||||
|
matchLabels:
|
||||||
|
app: dragonfly-ephemeral
|
||||||
|
app.kubernetes.io/part-of: dragonfly
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 600m
|
cpu: 600m
|
||||||
|
Loading…
Reference in New Issue
Block a user