-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.sig/nodeCategorizes an issue or PR as relevant to SIG Node.Categorizes an issue or PR as relevant to SIG Node.triage/needs-informationIndicates an issue needs more information in order to work on it.Indicates an issue needs more information in order to work on it.
Description
What happened?
If I power cycle the node after tainting the node, certain pods are stuck in "Terminating" state(these pods usually take more time to delete)
kubectl taint nodes control-plane-dc275-2-master-n5-1003 node-role.kubernetes.io/master:NoExecute
poweroff -f --reboot
pod is stuck in Terminating state.
But If I remove the taint immediately after poweroff, eventually pod will get removed.
If I untainted after the node comes up, the pod is stuck in terminating state.
Kubernetes Version: v1.27.1
What did you expect to happen?
Pod should get removed
How can we reproduce it (as minimally and precisely as possible)?
kubectl taint nodes control-plane-dc275-2-master-n5-1003 node-role.kubernetes.io/master:NoExecute
poweroff -f --reboot
Anything else we need to know?
Pods stuck in Terminated state usually take more time to get deleted
Kubernetes version
v1.27.1
Cloud provider
none
OS version
SLES 15 SP4
Install tools
none
Container runtime (CRI) and version (if applicable)
containerd
Related plugins (CNI, CSI, ...) and versions (if applicable)
No response
maartengo
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.sig/nodeCategorizes an issue or PR as relevant to SIG Node.Categorizes an issue or PR as relevant to SIG Node.triage/needs-informationIndicates an issue needs more information in order to work on it.Indicates an issue needs more information in order to work on it.
Type
Projects
Status
Done