Learn Kubernetes: Healthcheck

In this series of stories, you will learn how to use Kubernetes. Today, let’s see how to add Healthchecks for Pods.

The livenessProbe probes determine when to restart a container.

The readinessProbe probes are used to determine if a pod should receive traffic.

This requires the developer to expose a URL that Kubernetes uses to determine whether or not the container is healthy.

Table of contents:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store