Skip to content

Commit

Permalink
probing changed.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
  • Loading branch information
michael-valdron committed Feb 6, 2023
1 parent 785a498 commit 3225088
Showing 1 changed file with 10 additions and 26 deletions.
36 changes: 10 additions & 26 deletions deploy/chart/devfile-registry/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,15 @@ spec:
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 3
timeoutSeconds: 3
startupProbe:
httpGet:
path: /viewer
port: 3000
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 1
timeoutSeconds: 10
resources:
limits:
memory: {{ .Values.devfileIndex.memoryLimit }}
Expand All @@ -103,31 +111,7 @@ spec:
- image: "{{ .Values.registryViewer.image }}:{{ .Values.registryViewer.tag }}"
imagePullPolicy: {{ .Values.registryViewer.imagePullPolicy }}
name: registry-viewer
ports:
livenessProbe:
httpGet:
path: /viewer
port: 3000
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 3
readinessProbe:
httpGet:
path: /viewer
port: 3000
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 3
startupProbe:
httpGet:
path: /viewer
port: 3000
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 1
timeoutSeconds: 10
ports:
resources:
limits:
memory: {{ .Values.registryViewer.memoryLimit }}
Expand Down

0 comments on commit 3225088

Please sign in to comment.