Cloudflare

A one-line Kubernetes fix that saved 600 hours a year

Mar 26, 2026Braxton Schafer
A one-line Kubernetes fix that saved 600 hours a year
SummaryAI, from the source post

This post details a specific optimization for Kubernetes pod restarts by identifying and resolving a bottleneck related to `fsGroup` permission changes on large persistent volumes. The core contribution is the identification of the `fsGroupChangePolicy` setting and its application with the `OnRootMismatch` value to significantly reduce pod initialization time, thereby improving the efficiency of restarts for stateful applications like Atlantis.

More from the Process Management & Graceful Upgrades trail