Skip to content

Commit 4bc237b

Browse files
readded liveness and readiness probes to registry viewer container. (#166)
Signed-off-by: Michael Valdron <[email protected]>
1 parent 71186fe commit 4bc237b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

deploy/chart/devfile-registry/templates/deployment.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,22 @@ spec:
114114
imagePullPolicy: {{ .Values.registryViewer.imagePullPolicy }}
115115
name: registry-viewer
116116
ports:
117+
livenessProbe:
118+
httpGet:
119+
path: /viewer
120+
port: 3000
121+
scheme: HTTP
122+
initialDelaySeconds: 15
123+
periodSeconds: 10
124+
timeoutSeconds: 3
125+
readinessProbe:
126+
httpGet:
127+
path: /viewer
128+
port: 3000
129+
scheme: HTTP
130+
initialDelaySeconds: 15
131+
periodSeconds: 10
132+
timeoutSeconds: 3
117133
resources:
118134
limits:
119135
memory: {{ .Values.registryViewer.memoryLimit }}

0 commit comments

Comments
 (0)