enabled metrics endpoint and liveness probe by default
Signed-off-by: chgl <chgl@users.noreply.github.com>
This commit is contained in:
parent
6f27c8c070
commit
86c8d2fac3
1 changed files with 2 additions and 10 deletions
|
@ -76,23 +76,15 @@ spec:
|
|||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.controller.resources | nindent 12 }}
|
||||
{{- if .Values.controller.metricsConfig.enabled }}
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: {{- .Values.controller.metricsConfig.port }}
|
||||
containerPort: {{ .Values.controller.metricsConfig.port }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
port: metrics
|
||||
path: {{- .Values.controller.metricsConfig.path }}
|
||||
path: {{ .Values.controller.metricsConfig.path }}
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
port: metrics
|
||||
path: {{- .Values.controller.metricsConfig.path }}
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
{{- end }}
|
||||
{{- with .Values.images.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
|
Loading…
Reference in a new issue