Skip to content

Health Checks for K8S Deployments with no Server Ports #213

Answered by BretFisher
cblauvelt asked this question in Q&A
Discussion options

You must be logged in to vote

Typically I see apps write to a file that the health probe queries. You can have the app write a file and the probe checks the creation/modify date, or the probe check the contents of the file.

https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-a-liveness-command

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cblauvelt
Comment options

Answer selected by cblauvelt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
DevOps kubernetes monitoring Monitoring, Health, and Readyness
2 participants