Skip to main content

Command Palette

Search for a command to run...

Kubernetes Liveness Probes - Examples & Common Pitfalls

Published
1 min read
Kubernetes Liveness Probes - Examples & Common Pitfalls
L

Likes to play with #Kubernetes #golang, servers, and networks.

Originally posted at Loft Labs Blog. © All rights belong to Loft Labs, Inc.

This is one of the posts I have written for Loft Labs, Inc.

Kubernetes has disrupted traditional deployment methods and has become very popular. Although it is a great platform to deploy to, it brings complexity and challenges as well. Kubernetes manages nodes and workloads seamlessly, and one of the great features of this containerized deployment platform is that of self-healing. For self-healing on the container level, we need health checks called probes in Kubernetes unless we depend on exit codes.

Liveness probes check if the pod is healthy, and if the pod is deemed unhealthy, it will trigger a restart; this action is different than the action of Readiness Probes I discussed in my previous post.

Let’s look at the components of the probes and dive into how to configure and troubleshoot Liveness Probes.

Photo by Mario Caruso on Unsplash

More from this blog

C

Clouds Engineer Blog

13 posts