Skip to content
Snippets Groups Projects
Commit a47db014 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Fixes rc deploy.

parent df1ed855
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ spec: ...@@ -35,7 +35,7 @@ spec:
affinity: affinity:
nodeAffinity: nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
- weight: 20 - weight: 100
preference: preference:
matchExpressions: matchExpressions:
- key: stateless - key: stateless
...@@ -44,13 +44,15 @@ spec: ...@@ -44,13 +44,15 @@ spec:
- "true" - "true"
podAntiAffinity: podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
- topologyKey: kubernetes.io/hostname - weight: 20
labelSelector: podAffinityTerm:
matchExpressions: topologyKey: kubernetes.io/hostname
- key: app.kubernetes.io/instance labelSelector:
operator: In matchExpressions:
values: - key: app.kubernetes.io/instance
- ${FQDN} operator: In
values:
- ${FQDN}
containers: containers:
- env: - env:
- name: TZ - name: TZ
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment