kubectl-drain Verified for current stable LTS

Kubectl Drain Command: Preview Drain Operation Dry Run

Use for preview drain operation dry run with Kubectl Drain. Exact CLI syntax to preview drain operation dry run using Kubectl Drain.

When to use this: Use for preview drain operation dry run with Kubectl Drain.

Command Syntax

kubectl drain <node_name> --dry-run=<none|server|client>

Command Breakdown

--dry-run=<none|server|client>
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to preview drain operation dry run using Kubectl Drain.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Kubectl Drain directory