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
I'm not sure what the --force flag sends to the server, your best bet is to use kubectl --v=10 delete pods ... which will display verbose logging including all URLs and bodies sent to the server. Then you'll be able to see what needs to be specified in this client (and then you can see if this client supports it)
I think --force might actually just mean send a DELETE instead of updating the status of the pod to deleting using a PUT but I'm not certain.
k8s-ci-robot
added
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
and removed
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
labels
May 9, 2024
The odd time I have a statefulset pod that gets stuck in "Terminating" I am using the following command in node:
To remove the bad pod I use:
kubectl delete pods bob-0 --grace-period=0 --force
Is there a way in this sdk, to replicate the --force behaviour?
Thanks
Brad
The text was updated successfully, but these errors were encountered: