1
0
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:
Mark Shields 2021-11-21 18:31:14 -05:00
parent 8a1faa3eb8
commit b63d1f584d

View File

@ -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),