RATATOSK
← All releases

Kubernetesv1.37.3

Security 1Breaking changes 5Important fixes 11Dependency updates 2Other changes 2

Get Kubernetes alerts

Email is sent weekly only when there are changes to check; critical security advisories are sent immediately.

Security1

Node proxy/run requests rejected by default kubectl proxy filter

Affectsthe default path filter in kubectl proxy(Inferred)

The filter rejects requests such as /api/v1/nodes/somenode/proxy/run/somenamespace/somepod/somecontainer?cmd=id.

Show release-note lines
- Adds node run api path to default kubectl proxy filter ([#143191](https://github.com/kubernetes/kubernetes/pull/143191), [@mpuckett159](https://github.com/mpuckett159)) [SIG CLI]
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

Breaking changes5

Kubelet startup now rejects out-of-range subordinate ID mappings

Affectskubelet users with subordinate ID ranges in /etc/subuid or /etc/subgid ending at or past 4294967295
Action requiredBefore upgrading, the subordinate ID range count must be reduced by at least one idsPerPod (65536 by default). If an earlier kubelet assigned a pod an invalid ID range, the pod stuck in ContainerCreating with a FailedCreatePodSandBox event must be deleted, or the node drained, before upgrading.

If an earlier kubelet assigned a pod an invalid ID range, the mapping remains in the pod directory and can make the upgraded kubelet fail at startup with an out-of-range mapping error.

Evidence“the kubelet now refuses to start if the subordinate ID range configured for the `kubelet` user in `/etc/subuid` and `/etc/subgid` ends at or past 4294967295, since such a range either contains the unmappable ID or extends past the end of the 32-bit ID space. Nodes configured this way, for example `kubelet:65536:4294901760`, must reduce the count by at least one `idsPerPod` (65536 by default) before upgrading.” kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md ↗
Show release-note lines

Kubelet startup blocked by high-ending subordinate ID ranges

AffectsNodes whose kubelet subordinate ID range in /etc/subuid or /etc/subgid ends at or past 4294967295
Action requiredReduce the subordinate ID range count by at least one idsPerPod (65536 by default) before upgrading
Show release-note lines
  the kubelet now refuses to start if the subordinate ID range configured for the
  `kubelet` user in `/etc/subuid` and `/etc/subgid` ends at or past 4294967295, since such a range
  either contains the unmappable ID or extends past the end of the 32-bit ID space. Nodes
  configured this way, for example `kubelet:65536:4294901760`, must reduce the count by at least
  one `idsPerPod` (65536 by default) before upgrading.
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

Kubelet startup refusal for recorded invalid pod ID mappings

Affectsnodes with pod directories containing an earlier kubelet's invalid ID-range mapping
Action requiredDeletion of affected pods or node drain before upgrading the kubelet

An earlier kubelet could assign the invalid range, leaving affected pods stuck in ContainerCreating with a FailedCreatePodSandBox event while the mapping remained in the pod directory.

Show release-note lines
  if a pod on the node was assigned the invalid ID range by an earlier kubelet,
  that range is still recorded in the pod's directory, and the upgraded kubelet refuses to start:
      create user namespace manager: record pod mappings for existing pod "<uid>": id 4294901760 is out of range
  Delete any pod stuck in `ContainerCreating` with a `FailedCreatePodSandBox` event, or drain the
  node, before upgrading the kubelet. ([#143213](https://github.com/kubernetes/kubernetes/pull/143213), [@rata](https://github.com/rata)) [SIG Node]
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

kubeadm kubeconfig generation now reports missing CA files

Affectskubeadm kubeconfig generation(Inferred)

Previously, kubeadm did not return an error when the CA certificate or key was missing; it now advises running kubeadm init phase certs ca to generate the files.

Evidence“return nil, errors.Wrap(err, "the CA files do not exist, please run `kubeadm init phase certs ca` to generate it")” kubernetes/kubernetes/pull/143621 ↗
Show release-note lines
- Kubeadm: fixed a bug where the error about missing CA files is never returned. ([#143621](https://github.com/kubernetes/kubernetes/pull/143621), [@devreddy1015](https://github.com/devreddy1015)) [SIG Cluster Lifecycle]
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

Stricter pods/binding label and annotation validation

Affectspods/binding requests that supply labels or annotations(Inferred)

pods/binding validation previously differed from the checks used when creating or updating pods.

Evidence“return nil, errors.NewInvalid(schema.GroupKind{Group: "", Kind: "Binding"}, "", allErrs)” kubernetes/kubernetes/pull/143312 ↗
Show release-note lines
- Make pods/binding label and annotation validation consistent with pod creation and update ([#143312](https://github.com/kubernetes/kubernetes/pull/143312), [@liggitt](https://github.com/liggitt)) [SIG Apps and Node]
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

Important fixes11

  • Default classic buckets restored for native histograms
    Affectshistograms with NativeHistograms enabled and no explicit Buckets

    Previously, these histograms exposed only le="+Inf" instead of the default classic buckets. They now expose the default buckets alongside native histogram data.

    - Fix a regression when `NativeHistograms` is enabled where histograms defined without explicit `Buckets` (such as kubelet's `prober_probe_duration_seconds`) omitted default classic histogram buckets (`0.005`..`10`) and exposed only `le="+Inf"`. ([#144156](https://github.com/kubernetes/kubernetes/pull/144156), [@dashpole](https://github.com/dashpole)) [SIG Architecture and Instrumentation]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • Kube-proxy captures the initial Node zone during cached replay
    AffectsKube-proxy setups using topology-aware routing

    When an already-running informer replays a cached Node, topology-aware routing now uses the configured zone without requiring a restart.

    - Kube-proxy no longer misses the initial Node zone when an already-running informer replays its cached Node, ensuring topology-aware routing uses the configured zone without requiring a restart. ([#143811](https://github.com/kubernetes/kubernetes/pull/143811), [@aojea](https://github.com/aojea)) [SIG Network]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • Kubeadm etcd rollback restores data at the correct directory level
    AffectsKubeadm-managed local-etcd control planes with automatic data rollback after a failed etcd upgrade(Inferred)

    During rollback, the backup was copied into a subdirectory of the member directory instead of being restored at the intended level. Rollback now restores the backed-up contents to the live data directory, replacing files written after the backup; it checks that the backup contains a member directory before clearing the live one.

    - Kubeadm: fixed the automatic rollback of the etcd data directory after a failed etcd upgrade, which previously copied the backup into a subdirectory of the member directory instead of restoring where it should be. The etcd backup directory now holds the member directory's contents. The etcd data backup before an upgrade is now retried for up to 30 seconds if copying fails. ([#143432](https://github.com/kubernetes/kubernetes/pull/143432), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • Kubelet startup failure fixed for user-namespace pods
    Affectspods using user namespaces (spec.hostUsers: false)

    When the kubelet user existed but getsubids was not installed, the kubelet failed to start. It now starts using the default ID range.

     - Kubelet: fixed several bugs in the ID range handling for pods using user namespaces
      The kubelet no longer fails to start when the `kubelet` user exists but the `getsubids` binary
      is not installed. It now falls back to the default ID range, as documented.
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • Kubelet startup failure fixed for user namespace pods
    Affectspods using user namespaces (spec.hostUsers: false)

    When the kubelet user existed but getsubids was absent, the kubelet failed to start. It now falls back to the documented default ID range in that situation.

  • User-namespace pod ID range boundary fixed
    Affectspods using user namespaces (spec.hostUsers: false)

    Pods assigned an ID range ending at 4294967295 (2^32-1) failed to start because the kernel refused to map that ID. The default range now ends one idsPerPod block lower.

  • Default user-namespace ID range excludes invalid ending ID
    Affectspods using user namespaces (spec.hostUsers: false) and the default ID range(Inferred)

    A pod assigned the default range ending at 4294967295 (2^32-1) failed to start because the kernel refused to map that ID; the range now ends one idsPerPod block lower.

      Pods are no longer assigned the ID range ending at 4294967295 (2^32-1). The kernel treats that
      ID as invalid and refuses to map it, so a pod assigned that range failed to start. The default
      range now ends one `idsPerPod` block lower.
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • KCM and kubelet crash on inline vSphere volumes fixed
    AffectsKCM and kubelet setups that process inline vSphere volumes

    Handling inline vSphere volumes could crash both components; that crash no longer occurs.

    - Fix KCM and kubelet crash because of inline vsphere volumes ([#144312](https://github.com/kubernetes/kubernetes/pull/144312), [@gnufied](https://github.com/gnufied)) [SIG Storage]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • Scheduler crash on Pod recreation fixed
    Affectsclusters using the Kubernetes scheduler

    When a Pod was rapidly deleted and recreated under the same name and namespace, the scheduler could receive the replacement as an update and crash. It now handles different-UID updates as a delete followed by an add, routing the recreated Pod to its cache or scheduling queue according to its assignment state.

    - Fixed a scheduler crash when a Pod was rapidly deleted and recreated under the same name and namespace. ([#144204](https://github.com/kubernetes/kubernetes/pull/144204), [@vshkrabkov](https://github.com/vshkrabkov)) [SIG Scheduling]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • Kubelet CSINode registration fixed for recreated nodes
    AffectsKubelet-managed nodes with CSI volumes

    When a node was quickly recreated with the same name, kubelet could fail to register its CSINode, preventing CSI volumes from attaching to the new node. Kubelet now refreshes the cached Node UID when creating or verifying CSINode ownership.

    - Fixes an issue where kubelet fails to register CSINode objects when a node is quickly recreated with the same name, which previously prevented CSI volumes from attaching to the new node. ([#143771](https://github.com/kubernetes/kubernetes/pull/143771), [@hime](https://github.com/hime)) [SIG Storage]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • kubeadm upgrade plan no longer panics on kube-apiserver version lookup failure
    Affectssetups running kubeadm upgrade plan

    When the latest kube-apiserver version cannot be determined from existing nodes, the command previously panicked. It now returns an error instead, saying it couldn't get the latest kube-apiserver version from the existing nodes.

    - Kubeadm: `kubeadm upgrade plan` now returns an error instead of panicking when the latest kube-apiserver version cannot be determined. ([#143740](https://github.com/kubernetes/kubernetes/pull/143740), [@devreddy1015](https://github.com/devreddy1015)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

Dependency updates2

    2 more, none mentioning security
    • - Kubernetes is now built with Go 1.26.11. ([#144357](https://github.com/kubernetes/kubernetes/pull/144357), [@jeremyrickard](https://github.com/jeremyrickard)) [SIG Release]
    • - Updated the kube-cross and go-runner build images to Go 1.26.11 and distroless-iptables to v0.9.10. ([#144358](https://github.com/kubernetes/kubernetes/pull/144358), [@jeremyrickard](https://github.com/jeremyrickard)) [SIG Release and Testing]
    Other changes2
    • Kubeadm retries etcd backup copies before upgrades
      - Kubeadm: fixed the automatic rollback of the etcd data directory after a failed etcd upgrade, which previously copied the backup into a subdirectory of the member directory instead of restoring where it should be. The etcd backup directory now holds the member directory's contents. The etcd data backup before an upgrade is now retried for up to 30 seconds if copying fails. ([#143432](https://github.com/kubernetes/kubernetes/pull/143432), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
      github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
    • Kubeadm retries transient etcd member-listing errors
      - Kubeadm: retry listing etcd members on transient errors during control plane join and reset, instead of failing on the first error. ([#143426](https://github.com/kubernetes/kubernetes/pull/143426), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
      github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

    Summaries are produced by AI, so they can be wrong, and they are provided without warranty.