Skip to content

Commit

Permalink
add topologySpreadConstraints to test case all
Browse files Browse the repository at this point in the history
  • Loading branch information
algchoo committed Sep 11, 2024
1 parent 1c49e25 commit 4287b98
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions test/cases/all/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,44 @@ affinity:
operator: In
values:
- us-central1-a

topologySpreadConstraints:
bindplane:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/component: server

nats:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/component: nats

jobs:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/component: jobs

prometheus:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/component: prometheus

transform_agent:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/component: transform_agent

0 comments on commit 4287b98

Please sign in to comment.