-
Notifications
You must be signed in to change notification settings - Fork 4.7k
oc adm drain --ignore-daemonsets
seems to not ignore daemonsets
#17522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
note I was able to workaround by using a complicated pod-selector:
|
Hi Dusty, are you by any chance able to reproduce this with a 3.7 or 3.8 client? |
An immediate workaround for draining a node with pods managed by a DaemonSet that also have local storage, is to use both the |
Related issue: #17563 |
…in-local-storage Automatic merge from submit-queue (batch tested with PRs 17547, 18151). UPSTREAM: 56713: Allow oadm drain to continue w ds-managed pods with local storage Fixes #17522 UPSTREAM: kubernetes/kubernetes#56713 Prevents oadm drain from failing if it encounters DaemonSet-managed pods that have local storage, when the option to ignore DaemonSet-managed pods has been specified. Will add tests cc @openshift/cli-review @dustymabe @deads2k
…ds-pod-drain-local-storage Automatic merge from submit-queue (batch tested with PRs 17547, 18151). UPSTREAM: 56713: Allow oadm drain to continue w ds-managed pods with local storage Fixes openshift/origin#17522 UPSTREAM: kubernetes#56713 Prevents oadm drain from failing if it encounters DaemonSet-managed pods that have local storage, when the option to ignore DaemonSet-managed pods has been specified. Will add tests cc @openshift/cli-review @dustymabe @deads2k Origin-commit: 1c8ec8f29d1fd182c8329d57e1bd22286b8fd7c9
…ds-pod-drain-local-storage Automatic merge from submit-queue (batch tested with PRs 17547, 18151). UPSTREAM: 56713: Allow oadm drain to continue w ds-managed pods with local storage Fixes openshift/origin#17522 UPSTREAM: kubernetes#56713 Prevents oadm drain from failing if it encounters DaemonSet-managed pods that have local storage, when the option to ignore DaemonSet-managed pods has been specified. Will add tests cc @openshift/cli-review @dustymabe @deads2k Origin-commit: 1c8ec8f29d1fd182c8329d57e1bd22286b8fd7c9
oc adm drain --ignore-daemonsets
seems to not ignore daemonsetsVersion
steps:
The text was updated successfully, but these errors were encountered: