Skip to content
IJK

Kubernetes v1.37: Three Changes That Touch Running Clusters

By IJK ·

Three planned Kubernetes v1.37 changes the sneak-peek post describes: static pod references, kube-proxy ipvs mode and SELinux shared volumes.

Static Pods and API references

Static Pods were never meant to read API resources directly, since they aren't created through the API server — but a bug let them reference Secrets or ConfigMaps via fields like configMapRef or secretRef. [1]

kube-proxy in ipvs mode

Clusters running kube-proxy in ipvs mode (or mode: ipvs in KubeProxyConfiguration) would now be logging a deprecation warning on startup. [2]

Kubernetes v1.37 sneak peekplanned changes that may still changeStatic Podsnever meant to read API resources directlykube-proxy in ipvs modelogs a deprecation warning on startupPods sharing a volume, different SELinuxlabelsmay now fail to start
Which running workloads do the three changes touch?

Shared volumes, SELinux labels and the CSI opt-in

SELinuxMount is expected to reach GA and be enabled by default in v1.37. [3]

Volumes would then be mounted with -o context=<label> (the mount option default) instead of being recursively relabeled, but only when the volume's CSI driver opts in via a CSIDriver that sets .spec seLinuxMount: true. [4]

Because a single mount can only hold one SELinux context, pods with different SELinux labels sharing a volume on the same node (which previously coexisted under recursive relabeling) may now fail to start. [5]

To retain the previous recursive behavior for a specific workload, set seLinuxChangePolicy: Recursive in the Pod spec. [6]

Clusters without SELinux enabled see no effect at all. [7]

Sources

  1. The Kubernetes source says: Static Pods were never meant to read API resources directly, since they aren't created through the API server — but a bug let them reference Secrets or ConfigMaps via fields like configMapRef or secretRef. Kubernetes v1.37 sneak peek
  2. The Kubernetes source says: Clusters running kube-proxy in ipvs mode (or mode: ipvs in KubeProxyConfiguration) would now be logging a deprecation warning on startup. Kubernetes v1.37 sneak peek
  3. The Kubernetes source says: SELinuxMount is expected to reach GA and be enabled by default in v1.37. Kubernetes v1.37 sneak peek
  4. The Kubernetes source says: Volumes would then be mounted with -o context=<label> (the mount option default) instead of being recursively relabeled, but only when the volume's CSI driver opts in via a CSIDriver that sets .spec seLinuxMount: true. Kubernetes v1.37 sneak peek
  5. The Kubernetes source says: Because a single mount can only hold one SELinux context, pods with different SELinux labels sharing a volume on the same node (which previously coexisted under recursive relabeling) may now fail to start. Kubernetes v1.37 sneak peek
  6. The Kubernetes source says: To retain the previous recursive behavior for a specific workload, set seLinuxChangePolicy: Recursive in the Pod spec. Kubernetes v1.37 sneak peek
  7. The Kubernetes source says: Clusters without SELinux enabled see no effect at all. Kubernetes v1.37 sneak peek

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • kubernetes
  • upgrade
  • kube proxy
  • selinux