Skip to content

CLI Flags

KSail provides a comprehensive CLI for managing Kubernetes clusters and workloads. Below is the root command help output.

KSail is a CLI tool for creating and maintaining local Kubernetes clusters
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:
-h, --help help for ksail
--timing Show per-activity timing output
-v, --version version for ksail
Use "ksail [command] --help" for more information about a command.

Explore the CLI documentation for each command group:

  • ksail cluster – Cluster lifecycle commands (init, create, delete, start, stop, info, list, connect)
  • ksail workload – Workload management commands (apply, get, logs, gen, push, reconcile)
  • ksail cipher – Secret encryption commands (encrypt, decrypt, edit, import)

These flags are available on all commands:

FlagDescription
--timingShow per-activity timing output
-h, --helpShow help for any command
-v, --versionShow version information