CLI Flags
KSail provides a comprehensive CLI for managing Kubernetes clusters and workloads. Below is the root command help output.
CLI tool for operating Kubernetes
Usage: ksail [flags] ksail [command]
Available Commands: cipher Manage encrypted files with SOPS cluster Manage cluster lifecycle completion Generate the autocompletion script for the specified shell help Help about any command workload Manage workload operations
Flags: --benchmark Show per-activity benchmark output -h, --help help for ksail -v, --version version for ksail
Use "ksail [command] --help" for more information about a command.Command Groups
Section titled “Command Groups”Explore the CLI documentation for each command group:
- ksail cluster – Cluster lifecycle commands (init, create, update, delete, start, stop, info, list, connect, switch, backup, restore)
- ksail workload – Workload management commands (apply, get, logs, gen, push, reconcile)
- ksail cipher – Secret encryption commands (encrypt, decrypt, edit, import)
- ksail chat – AI-assisted chat session powered by GitHub Copilot
- ksail mcp – MCP server for AI assistants and automation tools
Global Flags
Section titled “Global Flags”These flags are available on all commands:
| Flag | Description |
|---|---|
--benchmark | Show per-activity benchmark output |
-h, --help | Show help for any command |
-v, --version | Show version information |