-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Hi !
A recent kubectl update removed the drain --delete-local-data flag, now replaced by --delete-emptydir-data.
kubectl drain <REDACTED> --delete-local-data --ignore-daemonsets --force
error: unknown flag: --delete-local-data
See 'kubectl drain --help' for usage.Here's a forum post about this on the upstream Lens forum: https://forums.k8slens.dev/t/lens-2024-11-drain-action-still-using-kubectl-delete-local-data-instead-of-delete-emptydir-data/3903
I think we easily could just update it here:
openlens-node-pod-menu/src/node-menu.tsx
Line 60 in 0bcc87c
| const command = `${kubectlPath} drain ${nodeName} --delete-local-data --ignore-daemonsets --force`; |
I'll try to send a PR ASAP, hoping this repo is still maintained and still able to release 🤞
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels