Commit 83528409 authored by Dominik Hebeler's avatar Dominik Hebeler

switched pvc to new sc and added anti affinity for tempworker

parent 54089280
......@@ -30,6 +30,15 @@ spec:
tier: "{{ .Values.application.tier }}"
release: {{ .Release.Name }}
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: NotIn
values:
- kubernetestmpworker1
imagePullSecrets:
{{ toYaml .Values.image.secrets | indent 10 }}
securityContext:
......@@ -37,7 +46,7 @@ spec:
volumes:
- name: mglogs-persistent-storage
persistentVolumeClaim:
claimName: mglogs
claimName: mg-logs
containers:
# Main PHP-FPM Container
- name: {{ .Chart.Name }}-phpfpm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment