Skip to content

Commit f0f7db4

Browse files
committed
OCPBUGS-29479: Add startupProbe to console container.
Use startup probe on console container to account for possible long start times from auth initialization. This will help to avoid unnecessary restarts of the console pod.
1 parent c29bbd5 commit f0f7db4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

bindata/assets/deployments/console-deployment.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,15 @@ spec:
7070
path: /health
7171
port: 8443
7272
scheme: HTTPS
73-
initialDelaySeconds: 150
74-
timeoutSeconds: 1
73+
failureThreshold: 1
7574
periodSeconds: 10
76-
successThreshold: 1
77-
failureThreshold: 3
75+
startupProbe:
76+
httpGet:
77+
path: /health
78+
port: 8443
79+
scheme: HTTPS
80+
periodSeconds: 10
81+
failureThreshold: 30
7882
ports:
7983
- name: https
8084
containerPort: 8443

0 commit comments

Comments
 (0)