Skip to content

Commit df20a90

Browse files
committed
Hard-code probes
1 parent a4986a4 commit df20a90

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

charts/alertify/templates/deployment.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,12 @@ spec:
4949
- name: http
5050
containerPort: {{ .Values.service.port }}
5151
protocol: TCP
52-
{{- with .Values.livenessProbe }}
5352
livenessProbe:
54-
{{- toYaml . | nindent 12 }}
55-
{{- end }}
56-
{{- with .Values.readinessProbe }}
53+
exec:
54+
command: ["python", "alertify.py", "--healthcheck"]
5755
readinessProbe:
58-
{{- toYaml . | nindent 12 }}
59-
{{- end }}
56+
exec:
57+
command: ["python", "alertify.py", "--healthcheck"]
6058
{{- with .Values.resources }}
6159
resources:
6260
{{- toYaml . | nindent 12 }}

charts/alertify/values.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,6 @@ resources: {}
8080
# cpu: 100m
8181
# memory: 128Mi
8282

83-
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
84-
livenessProbe:
85-
exec:
86-
command: ["python", "alertify.py", "--healthcheck"]
87-
readinessProbe:
88-
exec:
89-
command: ["python", "alertify.py", "--healthcheck"]
90-
9183
nodeSelector: {}
9284

9385
tolerations: []

0 commit comments

Comments
 (0)