Contents

TIL: google's z-pages

Why z pages?

For a long time, I’ve asked myself why the kubernetes API health endpoints are ending with a “z”. Like healhtz or readyz and even livez.1
I’ve finally found the answer, here 2.

TL;DR

The reason is simple, google introduced these pages to reduce path collision within their applications.
This way, you can have statusz page giving the status of the whole api and a status page for anything else.

Kelsey Hightower’s explanation


  1. https://kubernetes.io/docs/reference/using-api/health-checks/ ↩︎

  2. https://stackoverflow.com/questions/43380939/where-does-the-convention-of-using-healthz-for-application-health-checks-come-f/43381061#43381061 ↩︎