Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Tell us about your request*
A kubelet restart on a Nitro Sandboxes node should not restart running sandboxes. Today it kills every sandbox pod on the node and they are not restarted.
Which service(s) is this request for?
EKS (Nitro Sandboxes, EKSPodIsolationRuntime)
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Kubelet restarts happen during node maintenance and config changes. On a sandbox node every restart kills all sandbox pods on that node.
Doing a systemctl restart kubelet and nothing else (cri-proxy and containerd keep running), we observed that:
- For several seconds the node reports
eks.amazonaws.com/nitro-sandbox capacity 0.
- The kubelet rejects the running sandbox pods:
OutOfeks.amazonaws.com/nitro-sandbox: Node didn't have enough resource: eks.amazonaws.com/nitro-sandbox, requested: 1, used: 0, capacity: 0.
- It kills them (SIGTERM about 1 s after the restart). Their VMs are gone. The pods end terminal even with
restartPolicy: Always and are never restarted.
- A pod with an EBS PVC also logs
MountVolume.MountDevice failed ... could not format "/dev/nvme1n1" and mount it ....
- A runc pod on the same node is untouched.
- The capacity comes back within about 15 s and new sandbox pods schedule again.
Are you currently working around this issue?
No.
Additional context
Environment: EKS 1.35, us-west-2, r6i.xlarge, AMI amazon-eks-node-al2023-x86_64-standard-1.35-v20261031 with kernel6.18 (6.18.56), EKSPodIsolationRuntime 0.1.4274.0 (kubelet containerRuntimeEndpoint: unix:///run/nitro-sandbox/cri-proxy.sock), Firecracker 1.18.0.