---
title: "💭 Configure Liveness, Readiness and Startup Probes | Kubernetes"
description: "!https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/"
date: 2024-03-15
published: true
tags:
  - containers
  - kubernetes
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="/images/kubernetes-open-graph.png" alt="Configure Liveness, Readiness and Startup Probes — This page shows how to configure liveness, readiness and startup probes for containers.
For more information about probes, see Liveness, Readiness and Startup Probes.
Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:" loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">Configure Liveness, Readiness and Startup Probes</div>
      <div class="embed-card-description">This page shows how to configure liveness, readiness and startup probes for containers.
For more information about probes, see Liveness, Readiness and Startup Probes.
Before you beginYou need to ha...</div>
      <div class="embed-card-meta">Kubernetes &middot; kubernetes.io</div>
    </div>
  </a>
</div>


What is the difference between health, liveness, readiness, and startup?  This article does a great job at a full writeup description of how it works in kubernetes, here is my TLDR.



* health 200 OK - I'm still responding to requests
* health ERR - something happened and I cant respond to requests

* liveness 200 OK - I'm ready for more work
* liveness ERR - I'm still responding to requests, and i'm already working send requests to another pod, or scale up


## Z-pages

These probes are commonly deployed at `/healthz` and `/livez` endpoints.

Why the z?

z is a convention that comes from google for meta endpoints to reduce conflict with actual endpoints, and can be deployed to any application.

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online #thoughts
