feat(template): added lifecycle probes
This commit is contained in:
3 files changed
+36
-2
No files matched your search
@@ -30,7 +30,12 @@ spec:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
name: http
|
||||
# TODO: Add liveness and readiness probes
|
||||
livenessProbe:
|
||||
{{ toYaml .Values.xxx.livenessProbe | nindent 12 }}
|
||||
readinessProbe:
|
||||
{{ toYaml .Values.xxx.readinessProbe | nindent 12 }}
|
||||
startupProbe:
|
||||
{{ toYaml .Values.xxx.startupProbe | nindent 12 }}
|
||||
resources:
|
||||
{{ toYaml .Values.xxx.resources | nindent 12 }}
|
||||
securityContext:
|
||||
|
||||
@@ -31,7 +31,12 @@ spec:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
name: http
|
||||
# TODO: Add liveness and readiness probes
|
||||
livenessProbe:
|
||||
{{ toYaml .Values.xxx.livenessProbe | nindent 12 }}
|
||||
readinessProbe:
|
||||
{{ toYaml .Values.xxx.readinessProbe | nindent 12 }}
|
||||
startupProbe:
|
||||
{{ toYaml .Values.xxx.startupProbe | nindent 12 }}
|
||||
{{- with .Values.xxx.resources }}
|
||||
resources:
|
||||
{{ toYaml . | nindent 12 }}
|
||||
|
||||
Reference in new issue
Block a user