3 ms·
By health check, do you mean the kubernetes liveness check? Does that make kube try to kill or restart your container?
by nosefrog 2y ago
By health check, do you mean the kubernetes liveness check? Does that make kube try to kill or restart your container?
- Detrytus 2y agoMore likely they mean "readiness check" - this is the one that removes you from the Kubernetes load balancer service. Liveness check failing does indeed cause the container to restart.
- NightMKoder 2y agoYes sorry for not qualifying - that’s right. IMO the liveness check is only rarely useful - but I've not really run any bleeding edge services on kube. I assume it’s more useful if you actually working on dangerous code - locking, threading, etc. I’ve mostly only run web apps.
- jfuawdfaw 2y agoliveness is great for java apps that spend all their time fencing locks. I've seen too many completely deadlock.