Skip to content

Commit 2cfcd68

Browse files
committed
add readinessProbe for example konnectivity-agent Pod
Signed-off-by: huangyanfeng <[email protected]>
1 parent 768e62a commit 2cfcd68

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

examples/kubernetes/konnectivity-agent.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ spec:
3737
path: /healthz
3838
initialDelaySeconds: 15
3939
timeoutSeconds: 15
40+
readinessProbe:
41+
httpGet:
42+
scheme: HTTP
43+
port: 8093
44+
path: /readyz
45+
initialDelaySeconds: 15
46+
timeoutSeconds: 15
4047
volumeMounts:
4148
- mountPath: /var/run/secrets/tokens
4249
name: konnectivity-agent-token

0 commit comments

Comments
 (0)