Commit 83528409 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

switched pvc to new sc and added anti affinity for tempworker

parent 54089280
...@@ -30,6 +30,15 @@ spec: ...@@ -30,6 +30,15 @@ spec:
tier: "{{ .Values.application.tier }}" tier: "{{ .Values.application.tier }}"
release: {{ .Release.Name }} release: {{ .Release.Name }}
spec: spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: NotIn
values:
- kubernetestmpworker1
imagePullSecrets: imagePullSecrets:
{{ toYaml .Values.image.secrets | indent 10 }} {{ toYaml .Values.image.secrets | indent 10 }}
securityContext: securityContext:
...@@ -37,7 +46,7 @@ spec: ...@@ -37,7 +46,7 @@ spec:
volumes: volumes:
- name: mglogs-persistent-storage - name: mglogs-persistent-storage
persistentVolumeClaim: persistentVolumeClaim:
claimName: mglogs claimName: mg-logs
containers: containers:
# Main PHP-FPM Container # Main PHP-FPM Container
- name: {{ .Chart.Name }}-phpfpm - 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