Skip to content

Commit

Permalink
set explicit livenessProbe and readinessProbe timeout for connectivit…
Browse files Browse the repository at this point in the history
…y checks that expect an L3 deny

Signed-off-by: Dan Wendlandt <dan@covalent.io>
  • Loading branch information
danwent authored and tgraf committed Mar 16, 2020
1 parent cfd334c commit 0bbb6c2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,11 @@ spec:
command: ["/bin/ash", "-c", "sleep 1000000000"]
imagePullPolicy: IfNotPresent
livenessProbe:
timeoutSeconds: 7
exec:
command: ["ash", "-c", "! curl -sS --connect-timeout 5 -o /dev/null echo-a"]
readinessProbe:
timeoutSeconds: 7
exec:
command: ["ash", "-c", "! curl -sS --connect-timeout 5 -o /dev/null echo-a"]
---
Expand Down

0 comments on commit 0bbb6c2

Please sign in to comment.