Browse Source

Run SAPL in different nodes if media PV is RWX

master
parent
commit
18deb16724
  1. 2
      charts/sapl/v0.2.0/templates/deployment.yaml

2
charts/sapl/v0.2.0/templates/deployment.yaml

@ -111,6 +111,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
{{- if eq .Values.persistence.accessMode "ReadWriteOnce" }}
- weight: 100
podAffinityTerm:
labelSelector:
@ -124,6 +125,7 @@ spec:
values:
- {{ .Release.Name }}
topologyKey: kubernetes.io/hostname
{{- end }}
- weight: 50
podAffinityTerm:
labelSelector:

Loading…
Cancel
Save