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 }}
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.controller.resources | nindent 12 }}
|
{{- toYaml .Values.controller.resources | nindent 12 }}
|
||||||
{{- if .Values.controller.metricsConfig.enabled }}
|
|
||||||
ports:
|
ports:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: {{- .Values.controller.metricsConfig.port }}
|
containerPort: {{ .Values.controller.metricsConfig.port }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
port: metrics
|
port: metrics
|
||||||
path: {{- .Values.controller.metricsConfig.path }}
|
path: {{ .Values.controller.metricsConfig.path }}
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
readinessProbe:
|
|
||||||
httpGet:
|
|
||||||
port: metrics
|
|
||||||
path: {{- .Values.controller.metricsConfig.path }}
|
|
||||||
initialDelaySeconds: 30
|
|
||||||
periodSeconds: 30
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.images.pullSecrets }}
|
{{- with .Values.images.pullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
Loading…
Reference in a new issue