TL;DR

In Kubernetes v1.35, PersistentVolumes' node affinity is now mutable in alpha status, enabling more flexible online volume management and accommodating evolving storage requirements.

What happened

Kubernetes version 1.35 introduces a significant change by making PersistentVolume (PV) node affinity mutable, allowing administrators to adjust PVs without losing data or disrupting workloads. This feature is currently in alpha status and requires enabling the MutablePVNodeAffinity feature gate on APIServer.

Why it matters for ops

This update addresses limitations of previous immutable configurations, supporting scenarios like live migrations between zonal and regional disks and accommodating new disk generations that older nodes cannot support. It also lays groundwork for integrating with VolumeAttributesClass for more automated storage management.

Action items

  • Enable MutablePVNodeAffinity feature gate on APIServer to test the new functionality.
  • Update PV node affinity in sync with underlying volume updates from the storage provider.
  • Monitor Pod scheduling carefully to avoid race conditions between updating and scheduling.

Source link

https://kubernetes.io/blog/2026/01/08/kubernetes-v1-35-mutable-pv-nodeaffinity/