Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 8dba0c3

Browse files
author
Corneil du Plessis
authored
Added startup probe (#5075)
1 parent 5042c7e commit 8dba0c3

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

src/carvel/config/dataflow-deployment.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,24 @@ spec:
4343
readOnly: true
4444
ports:
4545
- containerPort: 80
46+
startupProbe:
47+
httpGet:
48+
port: 9393
49+
path: #@ dataflow_liveness_path()
50+
failureThreshold: 40
51+
initialDelaySeconds: 10
52+
timeoutSeconds: 3
53+
periodSeconds: 5
4654
livenessProbe:
4755
httpGet:
4856
path: #@ dataflow_liveness_path()
4957
port: 9393
50-
initialDelaySeconds: 45
58+
initialDelaySeconds: 5
5159
readinessProbe:
5260
httpGet:
5361
path: #@ dataflow_readiness_path()
5462
port: 9393
55-
initialDelaySeconds: 45
63+
initialDelaySeconds: 10
5664
resources:
5765
limits:
5866
cpu: #@ data.values.scdf.server.resources.limits.cpu

src/carvel/config/skipper-deployment.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,24 @@ spec:
4242
#@ end
4343
ports:
4444
- containerPort: 80
45+
startupProbe:
46+
httpGet:
47+
port: 7577
48+
path: /actuator
49+
failureThreshold: 40
50+
initialDelaySeconds: 10
51+
timeoutSeconds: 3
52+
periodSeconds: 5
4553
livenessProbe:
4654
httpGet:
4755
path: /actuator/health
4856
port: 7577
49-
initialDelaySeconds: 45
57+
initialDelaySeconds: 5
5058
readinessProbe:
5159
httpGet:
5260
path: /actuator/info
5361
port: 7577
54-
initialDelaySeconds: 45
62+
initialDelaySeconds: 10
5563
resources:
5664
limits:
5765
cpu: #@ data.values.scdf.skipper.resources.limits.cpu

0 commit comments

Comments
 (0)