Skip to content
Snippets Groups Projects
Commit 242b70a6 authored by Lorenz Boguhn's avatar Lorenz Boguhn
Browse files

Add topologySpreadConstraints to workload-generator uc1-3

parent d55e2e89
Branches
Tags
1 merge request!298Introduces Kubernetes Topology Spread Constraints
...@@ -12,6 +12,13 @@ spec: ...@@ -12,6 +12,13 @@ spec:
labels: labels:
app: titan-ccp-load-generator app: titan-ccp-load-generator
spec: spec:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
app: titan-ccp-load-generator
terminationGracePeriodSeconds: 0 terminationGracePeriodSeconds: 0
containers: containers:
- name: workload-generator - name: workload-generator
... ...
......
...@@ -12,6 +12,13 @@ spec: ...@@ -12,6 +12,13 @@ spec:
labels: labels:
app: titan-ccp-load-generator app: titan-ccp-load-generator
spec: spec:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
app: titan-ccp-load-generator
terminationGracePeriodSeconds: 0 terminationGracePeriodSeconds: 0
containers: containers:
- name: workload-generator - name: workload-generator
... ...
......
...@@ -12,6 +12,13 @@ spec: ...@@ -12,6 +12,13 @@ spec:
labels: labels:
app: titan-ccp-load-generator app: titan-ccp-load-generator
spec: spec:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
app: titan-ccp-load-generator
terminationGracePeriodSeconds: 0 terminationGracePeriodSeconds: 0
containers: containers:
- name: workload-generator - name: workload-generator
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment