-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(application): add cmd option to live & ready probes (#32)
Extend `livenessProbe` and `readinessProbe` with the option `cmd`, to enable probe execution from inside the container using a custom command.
- Loading branch information
1 parent
ceb8deb
commit 2268883
Showing
4 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
chart-tests/application/ci/test-liveness-readiness-with-cmd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
livenessProbe: | ||
cmd: ['curl', '-f', 'http://localhost:8080/.well-known/live'] | ||
|
||
readinessProbe: | ||
cmd: ['curl', '-f', 'http://localhost:8080/.well-known/ready'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters