Merge "'affinity' constraints added in remaining services"

This commit is contained in:
Jenkins 2017-09-05 15:06:56 +00:00 committed by Gerrit Code Review
commit 2ef73dfdf6
3 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,8 @@ spec:
labels:
{{ tuple $envAll "rbd" "provisioner" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
affinity:
{{ tuple $envAll "rbd" "provisioner" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
containers:
- name: ceph-rbd-provisioner
image: {{ .Values.images.rbd_provisioner }}

View File

@ -30,6 +30,8 @@ spec:
labels:
{{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
affinity:
{{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
nodeSelector:
{{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}
terminationGracePeriodSeconds: 60

View File

@ -32,6 +32,8 @@ spec:
labels:
app: mistral-engine
spec:
affinity:
{{ tuple $envAll "mistral" "engine" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
nodeSelector:
{{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}
initContainers: