kubectl drain --delete-emptydir-data

Signed-off-by: Mark Shields <4237425+laebshade@users.noreply.github.com>
This commit is contained in:
Mark Shields committed 2021-11-21 18:37:55 -05:00
1 parent 8a1faa3eb8
commit b63d1f584d
1 file changed
+1 -1
+1 -1
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),