Lightning Talk: Slow Starting Containers, How to Check Their Health?
Kubernetes uses probes to know when to send traffic to or restart a Container. For example, liveness probes could catch a deadlock, where an application is running, but unable to make progress. Restar …
Talk Title | Lightning Talk: Slow Starting Containers, How to Check Their Health? |
Speakers | Matthias Bertschy (Lead DevOps Engineer, Swissquote Bank) |
Conference | KubeCon + CloudNativeCon Europe |
Conf Tag | |
Location | Barcelona, Spain |
Date | May 19-23, 2019 |
URL | Talk Page |
Slides | Talk Slides |
Video | |
Kubernetes uses probes to know when to send traffic to or restart a Container. For example, liveness probes could catch a deadlock, where an application is running, but unable to make progress. Restarting the Container in such a state can help to make the application more available despite bugs. When a Container is starting, the kubelet has no way to tell whether the startup is deadlocked or just taking longer than expected. This is problematic when deploying Java based application servers which can take several minutes to start. In this presentation, Matthias Bertschy will show you what are the risks of misconfigured probes, how to circumvent them and a possible solution to be implemented in the Kubernetes API.