You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I trigger a node shutdown by launching the reboot command on the node.
With the graceful shutdown feature, the pods on the nodes are killed (they end-up in Completed state) but not deleted by Kubernetes: I guess that's why the IP addresses are not released. I've voluntarily limited the number of IP addresses in the pool to demonstrate the problem: the new pods can't acquire IP addresses.
Describe the bug
IPs are not released immediately when a node is gracefully shut down but only after the node has rebooted.
Expected behavior
IPs should be released immediately so that the new pods spawned to replace the killed pods can acquire IP addresses.
To Reproduce
kubelet
parameters:shutdownGracePeriod: 60s
shutdownGracePeriodCriticalPods: 20s
reboot
command on the node.With the graceful shutdown feature, the pods on the nodes are killed (they end-up in
Completed
state) but not deleted by Kubernetes: I guess that's why the IP addresses are not released. I've voluntarily limited the number of IP addresses in the pool to demonstrate the problem: the new pods can't acquire IP addresses.Environment:
kubectl version
): v1.30.2uname -a
): 5.14.0-427.13.1.el9_4.x86_64Additional info / context
Sometimes some other CNI pods (e.g. calico, multus) fail to restart immediately after reboot causing even more problems.
The text was updated successfully, but these errors were encountered: