A one-line Kubernetes fix that saved 600 hours a year
Mar 26, 2026Braxton Schafer

Summary
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.