On November 25, 2026 the Kubernetes project published three patch releases on the same day: v1.37.3, v1.36.7 and v1.35.11. Most of their changes are routine bug fixes. One change is different, because the changelog files it under "Urgent Upgrade Notes" with the heading "(No, really, you MUST read this before you upgrade)".
The change fixes how the kubelet hands out user and group ID ranges to pods that run in a user namespace. The fix is correct, but it adds new checks at kubelet startup. On some nodes the upgraded kubelet will refuse to start until you clean up first. This guide explains the bug, shows how to tell whether a node is affected, and walks through the upgrade.
What the patch releases change
All three releases carry the same kubelet fix (pull requests #143213, #143214 and #143215 for the 1.37, 1.36 and 1.35 branches). It only matters for pods that set spec.hostUsers: false, which asks the kubelet to run the pod in its own Linux user namespace. The UserNamespacesSupport feature gate has been on by default since 1.33 and went GA, locked to enabled, in 1.36, so every supported cluster can run these pods.
The fix has three parts. First, the kubelet no longer fails to start when a kubelet user exists on the node but the getsubids binary is not installed. It now falls back to the default ID range, which is what the documentation always said would happen.
Second, the kubelet no longer gives a pod the ID block that ends at 4294967295 (2^32 - 1). The default range now ends one idsPerPod block lower.
Third, and this is the part that can break an upgrade, the kubelet now validates ranges more strictly when it starts. It refuses to start if the subordinate ID range configured for the kubelet user ends at or past 4294967295. It also refuses to start if a pod already on the node was given the bad block by an older kubelet.
Why the last ID cannot be mapped
When a pod runs with hostUsers: false, the kubelet maps IDs 0 to 65535 inside the container to a block of unprivileged IDs on the host. The block size comes from userNamespaces.idsPerPod in the KubeletConfiguration, which defaults to 65536 and must be a multiple of 65536. The kubelet writes each pod's mapping to a file named userns in the pod's directory under /var/lib/kubelet/pods/<pod-uid>/, so it can rebuild its allocation table after a restart.
The Linux kernel treats ID 4294967295 as invalid. It is (uid_t) -1, the value that interfaces such as setreuid(2) use to mean "no user ID", and the user_namespaces(7) man page explains that it is deliberately left unmapped. A pod whose block ended at that ID could not have its namespace created, so its sandbox failed and the pod sat in ContainerCreating.
Before the fix, the kubelet's default range started at idsPerPod and ran to the very end of the 32-bit space. With the default block size that is 65,535 blocks, and the last one ends exactly at 4294967295. The kubelet picks a free block at random, so on any given pod creation the chance of hitting the bad block was small. Across a large fleet and many pod restarts, it happened.
The new default range leaves out the last block. In code, the default length is now 2^32 - 2 * idsPerPod instead of 2^32 - idsPerPod.
Who is affected
You only need to act if a node matches one of two cases. If neither applies, the upgrade is an ordinary patch upgrade.
The first case is a node with a custom range for the kubelet user in /etc/subuid and /etc/subgid that reaches the end of the ID space. The release notes give kubelet:65536:4294901760 as an example. That range starts at 65536 and holds 4294901760 IDs, so its last ID is 4294967295. The kubelet checks this range whenever it starts, whether or not any pod uses user namespaces, so the upgraded kubelet fails on such a node even if nothing there sets hostUsers: false.
The second case is a node where an older kubelet already gave a pod the bad block. That pod's userns file still records it. When the new kubelet starts, it reads every pod's file to rebuild its table, finds an ID outside its new range and stops with this error:
create user namespace manager: record pod mappings for existing pod "<uid>": id 4294901760 is out of range
The ID in the message is the start of the bad block. With the default idsPerPod of 65536 the bad block starts at 4294901760. With a larger idsPerPod, it starts at 2^32 - idsPerPod.
Step 1: check the kubelet user's subordinate ID range
Run these checks on each node. The kubelet only reads a custom range when a user named kubelet exists and the getsubids tool from shadow-utils is in its PATH, so start there.
getent passwd kubelet || echo "no kubelet user: the kubelet uses its default range"
command -v getsubids || echo "getsubids not installed"
getsubids kubelet
getsubids -g kubelet
getsubids prints one line per range, in the form 0: kubelet 65536 7208960, where the last two numbers are the first ID and the count. The kubelet requires exactly one range, and the user and group output must be identical.
Now check where the range ends. The first ID plus the count must not be greater than 4294967295, which means the last ID in the range must be 4294967294 or lower.
awk -F: '$1 == "kubelet" { end = $2 + $3; print FILENAME, "first:", $2, "count:", $3, "end:", end, (end > 4294967295 ? "TOO LONG" : "ok") }' /etc/subuid /etc/subgid
If either file prints TOO LONG, shrink the count by at least one idsPerPod block. The count must stay a multiple of idsPerPod and must leave room for at least maxPods blocks. For a range that starts at 65536 with the default block size, the largest valid count is 4294836224. A much smaller range also works and is easier to reason about. The Kubernetes documentation uses kubelet:65536:7208960, which is 110 blocks, one for each pod at the default maxPods of 110.
The documentation also says to change this configuration only when no user namespace pods run on the node, so drain the node first (step 3 shows how). Then edit both files with the same value:
sudo sed -i 's/^kubelet:65536:4294901760$/kubelet:65536:4294836224/' /etc/subuid /etc/subgid
grep '^kubelet:' /etc/subuid /etc/subgid
If you skip this step, the upgraded kubelet exits with an error saying the assigned range "ends past the last mappable ID 4294967294".
Step 2: find pods that hold the last ID block
Next, look for pods that an older kubelet placed in the last block. Each userns file is a small JSON document with uidMappings and gidMappings entries, each holding hostId, containerId and length. A pod is affected when hostId + length goes past 4294967295.
This loop uses jq and prints the pod UID of every affected pod. Adjust the path if your kubelet runs with a custom --root-dir.
for f in /var/lib/kubelet/pods/*/userns; do
[ -f "$f" ] || continue
jq -e '.uidMappings[0] | .hostId + .length > 4294967295' "$f" >/dev/null \
&& basename "$(dirname "$f")"
done
The directory name is the pod's UID. Map it back to a namespace and name with kubectl:
POD_UID="replace-with-uid"
kubectl get pods -A -o custom-columns=NAMESPACE:.metadata.namespace,NAME:.metadata.name,UID:.metadata.uid | grep "$POD_UID"
From the cluster side, the same pods show up as stuck in ContainerCreating with a FailedCreatePodSandBox event, because their sandbox never started. You can list those events across all namespaces:
kubectl get events -A --field-selector reason=FailedCreatePodSandBox
Not every FailedCreatePodSandBox event comes from this bug, since CNI and runtime problems produce the same reason. The userns file check is the precise one.
Step 3: delete the affected pods or drain the node
The release notes give two options. Delete every pod stuck in ContainerCreating with a FailedCreatePodSandBox event, or drain the node before upgrading the kubelet. When the kubelet removes a pod, it releases the ID block and deletes the pod's userns file, so nothing is left for the new kubelet to trip over.
Deleting the pods is quicker when only a few are affected. Their controllers recreate them, and the scheduler may place them back on the same node.
kubectl delete pod -n <namespace> <pod-name>
Draining is the safer choice when you are upgrading the node anyway, and the kubeadm upgrade guide drains nodes as part of the normal process.
kubectl drain <node-name> --ignore-daemonsets --delete-emptydir-data
Keep one gap in mind. A drain does not evict DaemonSet pods. If a DaemonSet pod with hostUsers: false holds the last block, delete it by hand. The DaemonSet controller recreates it, and the old kubelet picks a new random block, which is almost certainly a valid one. Run the step 2 loop again right before you upgrade to confirm it prints nothing.
Step 4: upgrade the kubelet and confirm it starts
The version skew policy says the kubelet must not be newer than the kube-apiserver, so upgrade the control plane to the new patch release first. Then upgrade the kubelet node by node. On a kubeadm node that uses the pkgs.k8s.io Debian packages, the 1.37 commands look like this:
sudo apt-mark unhold kubelet kubectl && \
sudo apt-get update && sudo apt-get install -y kubelet='1.37.3-*' kubectl='1.37.3-*' && \
sudo apt-mark hold kubelet kubectl
sudo systemctl daemon-reload
sudo systemctl restart kubelet
Use 1.36.7-* or 1.35.11-* on the older branches. Check that the kubelet stays up and that no user namespace errors appear in its log:
systemctl is-active kubelet
sudo journalctl -u kubelet --since "10 minutes ago" | grep -iE "user namespace|out of range|mappable" || echo "no user namespace errors"
kubectl get node <node-name> -o jsonpath='{.status.nodeInfo.kubeletVersion}{"\n"}'
Then bring the node back with kubectl uncordon <node-name>. To prove that user namespace pods still start, run a small test pod on it:
apiVersion: v1
kind: Pod
metadata:
name: userns-check
spec:
hostUsers: false
nodeName: replace-with-node-name
restartPolicy: Never
containers:
- name: check
image: busybox:1.36
command: ["sh", "-c", "id && cat /proc/self/uid_map"]
The log shows uid=0(root) inside the container and a uid_map line whose second column is the host ID where the block starts. That value should be a multiple of idsPerPod and below 4294901760 for the default block size. Delete the pod with kubectl delete pod userns-check when you are done.
Other fixes in the same releases
The rest of the changelog is lower risk, but a few entries are useful to know about. All three releases build with Go 1.26.11. They fix a scheduler crash when a pod is deleted and recreated quickly under the same name and namespace, and a kubelet bug that failed to register CSINode objects when a node was recreated quickly with the same name.
kubeadm gets several fixes. The automatic rollback after a failed etcd upgrade used to copy the backup into a subdirectory of the member directory instead of restoring it in place, and that is now fixed. The pre-upgrade etcd backup is retried for up to 30 seconds if copying fails, and kubeadm upgrade plan returns an error instead of panicking when it cannot determine the latest kube-apiserver version.
v1.36.7 and v1.35.11 also fix a 1.35 regression where exec readiness probes stopped running once a pod began graceful termination. The pod's Ready condition then stayed frozen during shutdown. That fix was already part of v1.37.0. The release schedule lists the next round of patches (v1.37.4, v1.36.8 and v1.35.12) for December 8, 2026, and the 1.35 branch enters maintenance mode on December 28, 2026.