Skip to content

Commit a7d0827

Browse files
(fix): change livez probe to httpGet /v2
This commit ensures that the liveness and readiness probes are targeted to httpGet on the /v2 path to avoid TLS handshake errors Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>
1 parent ca46af8 commit a7d0827

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

deploy/templates/deployment_registry.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,20 @@ spec:
3434
{{- toYaml .Values.registry.tls.volumeMounts | nindent 12 }}
3535
{{- end}}
3636
readinessProbe:
37-
tcpSocket:
37+
httpGet:
38+
path: /v2/
3839
port: 5000
40+
scheme: HTTPS
3941
initialDelaySeconds: 2
4042
timeoutSeconds: 1
4143
periodSeconds: 5
4244
successThreshold: 1
4345
failureThreshold: 3
4446
livenessProbe:
45-
tcpSocket:
47+
httpGet:
48+
path: /v2/
4649
port: 5000
50+
scheme: HTTPS
4751
initialDelaySeconds: 15
4852
timeoutSeconds: 1
4953
periodSeconds: 20

0 commit comments

Comments
 (0)