RATATOSK
← All releases

Kubernetesv1.35.11

Security 1Breaking changes 3Important fixes 10Dependency updates 2Other changes 2

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

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

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

Security1

Default kubectl proxy filter rejects node proxy run requests

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

Breaking changes3

Kubelet startup validation for subordinate ID ranges

Affectskubelet subordinate ID ranges in /etc/subuid or /etc/subgid ending at or above 4294967295
Action requiredAdjust the kubelet user's subordinate ID ranges in /etc/subuid and /etc/subgid so they end below 4294967295; for kubelet:65536:4294901760, reduce the count by at least one idsPerPod (65536 by default).

With such a range configured, the 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.35.md

Kubelet refuses startup with recorded out-of-range pod ID mappings

Affectsnodes with existing pods whose directories record an invalid ID range
Action requiredDeletion of any pod stuck in ContainerCreating with a FailedCreatePodSandBox event, or draining the node, before upgrading the kubelet

An earlier kubelet could assign the invalid range, leaving it recorded in the pod's 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
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.35.md

Label and annotation validation added to pods/binding

Affectsthe pods/binding API(Inferred)

Its label and annotation validation now matches the validation used for pod creation and update.

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

Important fixes10

  • Kube-proxy initial Node zone handling fixed
    AffectsKube-proxy setups using an already-running Node informer, with topology-aware routing configured by Node zone

    When an already-running informer replayed its cached Node, kube-proxy could miss the initial Node zone, leaving topology-aware routing without the configured zone until restart. In that case, 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. ([#143813](https://github.com/kubernetes/kubernetes/pull/143813), [@aojea](https://github.com/aojea)) [SIG Network]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.35.md
  • Kubelet startup failure fixed with a default ID range
    Affectspods using user namespaces with 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.

      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.35.md
  • Invalid default pod ID range fixed
    Affectspods using user namespaces with spec.hostUsers: false and the default ID range(Inferred)

    Pods assigned a 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.

      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.35.md
  • KCM and kubelet crash from inline vSphere volumes fixed
    Affectssetups using inline vSphere volumes handled by KCM or kubelet(Inferred)
    - Fix KCM and kubelet crash because of inline vsphere volumes ([#144314](https://github.com/kubernetes/kubernetes/pull/144314), [@gnufied](https://github.com/gnufied)) [SIG Storage]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.35.md
  • Exec readiness probes continue during graceful termination
    AffectsPods using exec readiness probes

    Previously, when a pod began graceful termination, probes failed with context canceled and its Ready condition stayed frozen. A failing probe can now mark the pod NotReady before the container stops, though an already-running probe may continue 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. ([#141005](https://github.com/kubernetes/kubernetes/pull/141005), [@karlkfi](https://github.com/karlkfi)) [SIG Node]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.35.md
  • Scheduler crash on rapid Pod recreation fixed
    Affectsclusters scheduling Pod resources

    When a watch was broken, an informer relist could deliver a rapidly recreated Pod with the same name and namespace as a single update, and the scheduler could crash. The scheduler now handles an update with a changed UID as a delete followed by an add, avoiding the described crash.

    - Fixed a scheduler crash when a Pod was rapidly deleted and recreated under the same name and namespace. ([#144206](https://github.com/kubernetes/kubernetes/pull/144206), [@vshkrabkov](https://github.com/vshkrabkov)) [SIG Scheduling]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.35.md
  • Kubelet CSINode registration fixed for quickly recreated nodes
    AffectsCSI volumes 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 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. ([#143774](https://github.com/kubernetes/kubernetes/pull/143774), [@hime](https://github.com/hime)) [SIG Storage]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.35.md
  • kubeadm upgrade plan returns an error instead of panicking
    Affectssetups using kubeadm upgrade plan

    When the latest kube-apiserver version cannot be determined from existing nodes, the command previously panicked; it now returns an error: 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. ([#143742](https://github.com/kubernetes/kubernetes/pull/143742), [@devreddy1015](https://github.com/devreddy1015)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.35.md
  • Kubeadm missing-CA error reporting fixed
    AffectsKubeadm kubeconfig specification generation(Inferred)

    When CA files were missing during kubeconfig specification generation, kubeadm did not return the missing-file error. It now returns an error with a hint to run kubeadm init phase certs ca to generate them.

    - Kubeadm: fixed a bug where the error about missing CA files is never returned. ([#143626](https://github.com/kubernetes/kubernetes/pull/143626), [@devreddy1015](https://github.com/devreddy1015)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.35.md
  • Kubeadm etcd rollback restores data from backup
    Affectskubeadm-managed etcd upgrades with automatic rollback

    When an etcd upgrade failed and automatic rollback ran, the backup was nested under another directory, so kubeadm could not find member and restore the data to the expected location. The backup now contains the member directory's contents directly, allowing rollback to restore the data where expected.

    - 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. ([#143434](https://github.com/kubernetes/kubernetes/pull/143434), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.35.md

Dependency updates2

    2 more, none mentioning security
    • - Kubernetes is now built with Go 1.26.11. ([#144360](https://github.com/kubernetes/kubernetes/pull/144360), [@jeremyrickard](https://github.com/jeremyrickard)) [SIG Release]
    • - Updated the kube-cross and go-runner images to Go 1.26.11 and distroless-iptables to v0.9.10. ([#144355](https://github.com/kubernetes/kubernetes/pull/144355), [@jeremyrickard](https://github.com/jeremyrickard)) [SIG Release and Testing]
    Other changes2
    • kubeadm etcd backup copy retries
      - 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. ([#143434](https://github.com/kubernetes/kubernetes/pull/143434), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
      github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.35.md
    • Kubeadm retries etcd member listing
      - Kubeadm: retry listing etcd members on transient errors during control plane join and reset, instead of failing on the first error. ([#143428](https://github.com/kubernetes/kubernetes/pull/143428), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
      github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.35.md

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