Skip to content

Commit 057fe07

Browse files
Merge pull request #869 from TheRealJon/OCPBUGS-29479
OCPBUGS-29479: Add startupProbe to console container.
2 parents 97b7042 + 6c3e7fc commit 057fe07

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

bindata/assets/deployments/console-deployment.yaml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,6 @@ spec:
3838
requests:
3939
cpu: 10m
4040
memory: 100Mi
41-
readinessProbe:
42-
httpGet:
43-
path: /health
44-
port: 8443
45-
scheme: HTTPS
46-
timeoutSeconds: 1
47-
periodSeconds: 10
48-
successThreshold: 1
49-
failureThreshold: 3
5041
lifecycle:
5142
preStop:
5243
exec:
@@ -65,16 +56,36 @@ spec:
6556
- "--public-dir=/opt/bridge/static"
6657
- "--config=/var/console-config/console-config.yaml"
6758
- "--service-ca-file=/var/service-ca/service-ca.crt"
59+
startupProbe:
60+
httpGet:
61+
path: /health
62+
port: 8443
63+
scheme: HTTPS
64+
failureThreshold: 30
65+
initialDelaySeconds: 0
66+
periodSeconds: 10
67+
successThreshold: 1
68+
timeoutSeconds: 10
6869
livenessProbe:
6970
httpGet:
7071
path: /health
7172
port: 8443
7273
scheme: HTTPS
73-
initialDelaySeconds: 150
74-
timeoutSeconds: 1
74+
failureThreshold: 1
75+
initialDelaySeconds: 0
7576
periodSeconds: 10
7677
successThreshold: 1
78+
timeoutSeconds: 10
79+
readinessProbe:
80+
httpGet:
81+
path: /health
82+
port: 8443
83+
scheme: HTTPS
7784
failureThreshold: 3
85+
initialDelaySeconds: 0
86+
periodSeconds: 10
87+
successThreshold: 1
88+
timeoutSeconds: 1
7889
ports:
7990
- name: https
8091
containerPort: 8443

0 commit comments

Comments
 (0)