Hi,
Since a while, the kubectl parameter “–delete-local-data” was deprecated nowadys it’s removed from the cli.
Each time you try to drain a node the following error appears.
$ kubectl drain <node_name> --delete-local-data --ignore-daemonsets --force
error: unknown flag: --delete-local-data
See 'kubectl drain --help' for usage.
Lens app should check the kubectl cli version in order to use the correct drain parameter.
Or giving the option to configure commands within the preferences panel at least.
Regards,