Levent Ogut
Levent's blog

Levent's blog

Kubernetes Probes: Startup, Liveness, Readiness

Kubernetes Probes: Startup, Liveness, Readiness

Levent Ogut's photo
Levent Ogut
·Feb 14, 2021·

1 min read

Subscribe to my newsletter and never miss my upcoming articles

Play this article

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 been disruptive due to the scalability, velocity, portability, and observability it adds to cloud deployments. While it brings a whole ecosystem of great features and options and eases complex deployment, it also has its own challenges. One of the great features Kubernetes has brought us is that of high availability. There are many high availability options in Kubernetes; in this article, we will discuss high availability options used for the application/microservice itself.

Pods - the smallest deployable units in Kubernetes - are scheduled once the declarative configuration is applied. Kube-scheduler is responsible for the calculation and schedule; once the schedule is accepted, it is in a controlled and calculated environment, and it is deemed service ready or not by the pod conditions. By using startup, readiness, and liveness probes, we can control when a pod should be deemed started, ready for service, or live. We will explore these conditions and triggers.

Photo by ????(come-on-stay-with-me-picture-id148442899.jpg) on Unsplash

 
Share this