File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 tolerations :
9090 {{- toYaml . | nindent 8 }}
9191 {{- end }}
92+ {{- with .Values.dashboard.frontend.topologySpreadConstraints }}
93+ topologySpreadConstraints :
94+ {{- toYaml . | nindent 8 }}
95+ {{- end }}
9296{{- end }}
Original file line number Diff line number Diff line change 5757 - name : config
5858 configMap :
5959 name : {{ .Chart.Name }}-frontproxy
60+ {{- if eq .Values.frontproxy.topologySpreadConstraints nil }}
6061 topologySpreadConstraints :
6162 - maxSkew : 1
6263 topologyKey : kubernetes.io/hostname
6566 matchLabels :
6667 {{- include "s3proxy.selectorLabels" . | nindent 14 }}
6768 app.kubernetes.io/component : frontproxy
69+ {{- else if .Values.frontproxy.topologySpreadConstraints }}
70+ topologySpreadConstraints :
71+ {{- toYaml .Values.frontproxy.topologySpreadConstraints | nindent 8 }}
72+ {{- end }}
73+ {{- with .Values.frontproxy.nodeSelector }}
74+ nodeSelector :
75+ {{- toYaml . | nindent 8 }}
76+ {{- end }}
77+ {{- with .Values.frontproxy.affinity }}
78+ affinity :
79+ {{- toYaml . | nindent 8 }}
80+ {{- end }}
81+ {{- with .Values.frontproxy.tolerations }}
82+ tolerations :
83+ {{- toYaml . | nindent 8 }}
84+ {{- end }}
6885{{- end }}
Original file line number Diff line number Diff line change 8383 {{- else }}
8484 emptyDir : {}
8585 {{- end }}
86+ {{- with .Values.redis.nodeSelector }}
87+ nodeSelector :
88+ {{- toYaml . | nindent 8 }}
89+ {{- end }}
90+ {{- with .Values.redis.affinity }}
91+ affinity :
92+ {{- toYaml . | nindent 8 }}
93+ {{- end }}
94+ {{- with .Values.redis.tolerations }}
95+ tolerations :
96+ {{- toYaml . | nindent 8 }}
97+ {{- end }}
98+ {{- with .Values.redis.topologySpreadConstraints }}
99+ topologySpreadConstraints :
100+ {{- toYaml . | nindent 8 }}
101+ {{- end }}
86102{{- end }}
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ redis:
5959 limits :
6060 cpu : " 500m"
6161 memory : " 256Mi"
62+ nodeSelector : {}
63+ affinity : {}
64+ tolerations : []
65+ topologySpreadConstraints : []
6266
6367# External Redis — used when `redis.enabled: false`. Point at a Redis you run
6468# yourself (managed service, shared cluster, your own HA setup).
@@ -124,6 +128,7 @@ dashboard:
124128 nodeSelector : {}
125129 affinity : {}
126130 tolerations : []
131+ topologySpreadConstraints : []
127132
128133 # Optional dedicated Ingress for the dashboard. OFF by default — the dashboard
129134 # should not be internet-facing unless you explicitly expose it (ideally behind
@@ -184,6 +189,11 @@ frontproxy:
184189 podDisruptionBudget :
185190 enabled : true
186191 minAvailable : 1
192+ nodeSelector : {}
193+ affinity : {}
194+ tolerations : []
195+ # null (default): spread pods across nodes. Set to [] to disable, or provide custom rules.
196+ topologySpreadConstraints :
187197
188198# Optional Ingress to expose S3 operations OUTSIDE the cluster. Routes to the
189199# front proxy, so external clients also get even per-request distribution —
You can’t perform that action at this time.
0 commit comments