Skip to content

Commit a08aecd

Browse files
authored
feat: Use updated probe locations (#69)
As implemented by project-zot/zot#3228 Signed-off-by: Asgeir Nilsen <[email protected]>
1 parent c06bc7c commit a08aecd

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

charts/zot/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ appVersion: v2.1.6
33
description: A Helm chart for Kubernetes
44
name: zot
55
type: application
6-
version: 0.1.76
6+
version: 0.1.77

charts/zot/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ spec:
8787
livenessProbe:
8888
initialDelaySeconds: 5
8989
httpGet:
90-
path: /v2/
90+
path: /livez
9191
port: 5000
9292
scheme: {{ .Values.httpGet.scheme }}
9393
{{- if .Values.authHeader }}
@@ -98,7 +98,7 @@ spec:
9898
readinessProbe:
9999
initialDelaySeconds: 5
100100
httpGet:
101-
path: /v2/
101+
path: /readyz
102102
port: 5000
103103
scheme: {{ .Values.httpGet.scheme }}
104104
{{- if .Values.authHeader }}
@@ -111,7 +111,7 @@ spec:
111111
periodSeconds: {{ .Values.startupProbe.periodSeconds }}
112112
failureThreshold: {{ .Values.startupProbe.failureThreshold }}
113113
httpGet:
114-
path: /v2/
114+
path: /startupz
115115
port: 5000
116116
scheme: {{ .Values.httpGet.scheme }}
117117
{{- if .Values.authHeader }}

charts/zot/templates/statefulset.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ spec:
103103
livenessProbe:
104104
initialDelaySeconds: 5
105105
httpGet:
106-
path: /v2/
106+
path: /livez
107107
port: 5000
108108
scheme: {{ .Values.httpGet.scheme }}
109109
{{- if .Values.authHeader }}
@@ -114,7 +114,7 @@ spec:
114114
readinessProbe:
115115
initialDelaySeconds: 5
116116
httpGet:
117-
path: /v2/
117+
path: /readyz
118118
port: 5000
119119
scheme: {{ .Values.httpGet.scheme }}
120120
{{- if .Values.authHeader }}
@@ -127,7 +127,7 @@ spec:
127127
periodSeconds: {{ .Values.startupProbe.periodSeconds }}
128128
failureThreshold: {{ .Values.startupProbe.failureThreshold }}
129129
httpGet:
130-
path: /v2/
130+
path: /startupz
131131
port: 5000
132132
scheme: {{ .Values.httpGet.scheme }}
133133
{{- if .Values.authHeader }}

charts/zot/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ ingress:
5858
# in configuration, to prevent failures, the scheme must be set to 'HTTPS'.
5959
httpGet:
6060
scheme: HTTP
61+
port: 5000
6162
# By default, Kubernetes considers a Pod healthy if the liveness probe returns
6263
# successfully. However, sometimes applications need additional startup time on
6364
# their first initialization. By defining a startupProbe, we can allow the

0 commit comments

Comments
 (0)