RATATOSK
← All releases

Kubernetesv1.36.7

Security 1Breaking changes 3Important fixes 10Other changes 3

Get Kubernetes alerts

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

Check before upgrading

Prerequisites1
Stuck-pod prerequisite for kubelet upgrades

Before upgrading the kubelet, a pod stuck in ContainerCreating with a FailedCreatePodSandBox event must be deleted, or the node drained.

  Delete any pod stuck in `ContainerCreating` with a `FailedCreatePodSandBox` event, or drain the
  node, before upgrading the kubelet. ([#143214](https://github.com/kubernetes/kubernetes/pull/143214), [@rata](https://github.com/rata)) [SIG Node]
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md

Security1

Node run API paths added to the default kubectl proxy filter

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

Breaking changes3

Kubelet startup blocked by out-of-range subordinate ID ranges

Affectsnodes with the kubelet user's subordinate ID range in /etc/subuid or /etc/subgid ending at or past 4294967295
Action requiredBefore upgrading, reduce the subordinate ID count by at least one idsPerPod (65536 by default). If an earlier kubelet assigned the invalid range to a pod, delete any pod stuck in ContainerCreating with a FailedCreatePodSandBox event or drain the node.

If an earlier kubelet assigned an invalid ID range to a pod, that range remains recorded in the pod's directory, and the upgraded kubelet refuses to start.

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.36.md

Kubelet startup blocked by recorded invalid pod ID ranges

Affectsnodes with pod directories containing an invalid ID range recorded by an earlier kubelet
Action requiredDelete any pod stuck in ContainerCreating with a FailedCreatePodSandBox event, or drain the node, before upgrading the kubelet.

An earlier kubelet could assign an invalid ID range that remained recorded in a pod's directory. The upgraded kubelet refuses to start when it encounters that mapping.

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
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md

Pod binding metadata validation added

Affectsthe pods/binding endpoint(Inferred)

The checks match pod creation and update, including validation of annotations applied to the bound pod.

Show release-note lines
- Make pods/binding label and annotation validation consistent with pod creation and update ([#143315](https://github.com/kubernetes/kubernetes/pull/143315), [@liggitt](https://github.com/liggitt)) [SIG Apps and Node]
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md

Important fixes10

  • Kube-proxy initial Node zone handling fixed
    AffectsKube-proxy setups using topology-aware routing

    When an already-running informer replayed its cached Node, kube-proxy could miss the initial Node zone. Topology-aware routing now uses the configured zone in that situation 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. ([#143812](https://github.com/kubernetes/kubernetes/pull/143812), [@aojea](https://github.com/aojea)) [SIG Network]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md
  • kubelet startup fallback when getsubids is missing
    Affectspods using user namespaces (spec.hostUsers: false)(Inferred)

    Previously, the kubelet failed to start when the kubelet user existed but getsubids was not installed; it now starts using the default ID range.

      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.36.md
  • User-namespace default ID range excludes invalid terminal ID
    AffectsPods using user namespaces with 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 treats that ID as invalid and refuses to map it. The default range now ends one idsPerPod block lower, excluding that ID.

      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.36.md
  • Inline vSphere volume translation crash fixed
    Affectsinline vSphere volumes handled by KCM and kubelet

    When inline vSphere volumes were used, KCM and kubelet could crash. The translation path checked the storage policy on volume.VsphereVolume but copied the value from pv.Spec.VsphereVolume.

    - Fix KCM and kubelet crash because of inline vsphere volumes ([#144313](https://github.com/kubernetes/kubernetes/pull/144313), [@gnufied](https://github.com/gnufied)) [SIG Storage]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md
  • Exec readiness probes continue during graceful termination
    Affectskubelet setups using exec readiness probes on v1.36.3 and later

    During graceful termination, probes failed with context canceled, leaving the Pod's Ready condition frozen. They can now mark a failing Pod NotReady; a probe already in progress can continue in the terminating container until its TimeoutSeconds elapses.

    - Fixed a 1.35+ regression where exec readiness probes stopped executing (failing with "context canceled") once a pod began graceful termination, leaving the pod's Ready condition frozen during shutdown. ([#141006](https://github.com/kubernetes/kubernetes/pull/141006), [@karlkfi](https://github.com/karlkfi)) [SIG Node]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md
  • Scheduler crash on rapid Pod recreation fixed
    AffectsKubernetes scheduler(Inferred)

    When a watch was broken during rapid deletion and recreation of a Pod under the same name and namespace, the relist could deliver the old and new Pods as one update and crash the scheduler. Updates with different UIDs are now handled as separate delete and add events.

    - Fixed a scheduler crash when a Pod was rapidly deleted and recreated under the same name and namespace. ([#144205](https://github.com/kubernetes/kubernetes/pull/144205), [@vshkrabkov](https://github.com/vshkrabkov)) [SIG Scheduling]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md
  • Kubelet refreshes cached Node UID for CSINode ownership
    AffectsCSI volume workloads on nodes quickly recreated with the same name

    When a node was quickly recreated with the same name, kubelet could fail to register its CSINode, preventing CSI volumes from attaching. Kubelet can now register it so those volumes can attach to the new node.

    - 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. ([#143772](https://github.com/kubernetes/kubernetes/pull/143772), [@hime](https://github.com/hime)) [SIG Storage]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md
  • kubeadm upgrade plan reports an error instead of panicking
    Affectskubeadm upgrade plan

    Previously, when the latest kube-apiserver version could not be determined from existing nodes, the command panicked; it now reports an error.

    - Kubeadm: `kubeadm upgrade plan` now returns an error instead of panicking when the latest kube-apiserver version cannot be determined. ([#143741](https://github.com/kubernetes/kubernetes/pull/143741), [@devreddy1015](https://github.com/devreddy1015)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md
  • kubeadm etcd rollback restores backed-up member data correctly
    Affectskubeadm setups performing automatic data-directory rollback after a failed etcd upgrade

    Previously, the backup was nested under the member directory, so rollback could not find it at the expected location. Rollback now clears the running member directory before restoring the backed-up contents there, removing member data written since the backup.

    - 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. ([#143433](https://github.com/kubernetes/kubernetes/pull/143433), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md
  • Kubelet recovers from corrupted subpath mounts
    AffectsPods using subpath mounts

    After a container restart, a corrupted subpath mount point, such as one with a stale NFS file handle, could leave the pod stuck in CreateContainerConfigError. AWS EFS-backed subPathExpr mounts could fail to recover after an OOMKill and require manual deletion; kubelet now recovers instead of leaving the pod stuck.

    - Kubelet now recovers from corrupted subpath mount points (e.g. stale NFS file handle) during container restart instead of leaving the pod stuck in CreateContainerConfigError. ([#143606](https://github.com/kubernetes/kubernetes/pull/143606), [@RomanBednar](https://github.com/RomanBednar)) [SIG Storage]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md
Other changes3
  • kubeadm reports missing CA files
    - Kubeadm: fixed a bug where the error about missing CA files is never returned. ([#143627](https://github.com/kubernetes/kubernetes/pull/143627), [@devreddy1015](https://github.com/devreddy1015)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md
  • kubeadm retries failed etcd backup copies
    - 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. ([#143433](https://github.com/kubernetes/kubernetes/pull/143433), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md
  • kubeadm retries transient etcd member-list errors
    - Kubeadm: retry listing etcd members on transient errors during control plane join and reset, instead of failing on the first error. ([#143427](https://github.com/kubernetes/kubernetes/pull/143427), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.36.md

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