Skip to content

Commit 8085814

Browse files
committed
feat: [telegraf] Add support for unhealthyPodEvictionPolicy
* Add config option for unhealthyPodEvictionPolicy
1 parent 3dbf355 commit 8085814

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/telegraf/templates/pdb.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ metadata:
1010
labels:
1111
{{- include "telegraf.labels" . | nindent 4 }}
1212
spec:
13+
{{- if .Values.pdb.unhealthyPodEvictionPolicy }}
14+
unhealthyPodEvictionPolicy: {{ .Values.pdb.unhealthyPodEvictionPolicy }}
15+
{{- end }}
1316
{{- if .Values.pdb.minAvailable }}
1417
minAvailable: {{ .Values.pdb.minAvailable }}
1518
{{- end }}

charts/telegraf/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ pdb:
192192
create: true
193193
minAvailable: 1
194194
# maxUnavailable: 1
195+
# unhealthyPodEvictionPolicy: "AlwaysAllow"
195196
# containerPorts:
196197
# - name: http
197198
# containerPort: 9273

0 commit comments

Comments
 (0)