mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
kubectl drain --delete-emptydir-data
Signed-off-by: Mark Shields <4237425+laebshade@users.noreply.github.com>
This commit is contained in:
parent
8a1faa3eb8
commit
b63d1f584d
@ -77,7 +77,7 @@ export function NodeMenu(props: NodeMenuProps) {
|
||||
};
|
||||
|
||||
const drain = () => {
|
||||
const command = `${kubectlPath} drain ${nodeName} --delete-local-data --ignore-daemonsets --force`;
|
||||
const command = `${kubectlPath} drain ${nodeName} --delete-emptydir-data --ignore-daemonsets --force`;
|
||||
|
||||
ConfirmDialog.open({
|
||||
ok: () => sendToTerminal(command),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user