Enable metrics port and allow user to configure only retries
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
feab52817f
commit
b3dad14bd3
2 changed files with 22 additions and 10 deletions
|
@ -73,16 +73,24 @@ spec:
|
||||||
- name: grpc
|
- name: grpc
|
||||||
containerPort: {{ .Values.dex.containerPortGrpc }}
|
containerPort: {{ .Values.dex.containerPortGrpc }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
{{- if .Values.dex.metrics.enabled }}
|
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: {{ .Values.dex.containerPortMetrics }}
|
containerPort: {{ .Values.dex.containerPortMetrics }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.dex.probes.enabled }}
|
{{- if .Values.dex.probes.enabled }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{- toYaml .Values.dex.probes.livenessProbe | nindent 10 }}
|
httpGet:
|
||||||
|
path: /healthz/live
|
||||||
|
port: metrics
|
||||||
|
{{- with .Values.dex.probes.livenessProbe }}
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{{- toYaml .Values.dex.probes.readinessProbe | nindent 10 }}
|
httpGet:
|
||||||
|
path: /healthz/ready
|
||||||
|
port: metrics
|
||||||
|
{{- with .Values.dex.probes.readinessProbe }}
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /tmp
|
- mountPath: /tmp
|
||||||
|
|
|
@ -264,13 +264,17 @@ dex:
|
||||||
probes:
|
probes:
|
||||||
enabled: false
|
enabled: false
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
failureThreshold: 3
|
||||||
path: /healthz/live
|
initialDelaySeconds: 10
|
||||||
port: 5558
|
periodSeconds: 10
|
||||||
|
successThreshold: 1
|
||||||
|
timeoutSeconds: 1
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
failureThreshold: 3
|
||||||
path: /healthz/ready
|
initialDelaySeconds: 10
|
||||||
port: 5558
|
periodSeconds: 10
|
||||||
|
successThreshold: 1
|
||||||
|
timeoutSeconds: 1
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
create: true
|
create: true
|
||||||
|
|
Loading…
Reference in a new issue