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
Kubernetes version (use kubectl version):
kubernetes/master
What happened:
kubectl drain of a node threw an error when a pod was already deleted.
What you expected to happen:
kubectl drain should not error if the pod it attempts to delete is already deleted
How to reproduce it (as minimally and precisely as possible):
create a pod, run kubectl drain on the node, delete the pod prior to drain completing on that node.
Anything else we need to know:
nope. i have a pr prepared with a fix.
The text was updated successfully, but these errors were encountered:
Automatic merge from submit-queue (batch tested with PRs 47523, 47438, 47550, 47450, 47612)
Ignore 404s on evict
One of our upgrades failed with
```
error: error when evicting pod \"boo-2-deploy\": pods \"boo-2-deploy\" not found"
```
@derekwaynecarr since you already fixed half of it
cc: @kubernetes/sig-cli-bugs
I failed terribly at adding a unit test mostly because draining involves discovery for the eviction API and the fake client stuff for discovery are far from functional - will spawn a separate issue about it.
fyi @jupierce
related: kubernetes/kubectl#28
Kubernetes version (use
kubectl version
):kubernetes/master
What happened:
kubectl drain of a node threw an error when a pod was already deleted.
What you expected to happen:
kubectl drain should not error if the pod it attempts to delete is already deleted
How to reproduce it (as minimally and precisely as possible):
create a pod, run kubectl drain on the node, delete the pod prior to drain completing on that node.
Anything else we need to know:
nope. i have a pr prepared with a fix.
The text was updated successfully, but these errors were encountered: