Skip to content

Commit 0cf967d

Browse files
committed
kubernetes-headlamp.yaml: Add readinessProbe to deployment
Signed-off-by: warjiang <[email protected]>
1 parent 7fd0708 commit 0cf967d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

kubernetes-headlamp.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ spec:
3333
- "-plugins-dir=/headlamp/plugins"
3434
ports:
3535
- containerPort: 4466
36+
readinessProbe:
37+
httpGet:
38+
scheme: HTTP
39+
path: /
40+
port: 4466
41+
initialDelaySeconds: 30
42+
timeoutSeconds: 30
3643
livenessProbe:
3744
httpGet:
3845
scheme: HTTP

0 commit comments

Comments
 (0)