longhornctl.md

July 16, 2026 ยท View on GitHub

longhornctl

Command-line interface for Longhorn.

Synopsis

A CLI tool for troubleshooting and managing Longhorn operations.

Options

  -h, --help                       help for longhornctl
      --image string               Image containing longhornctl-local (default "longhornio/longhorn-cli:v1.13.0-dev")
      --image-pull-secret string   Secret with registry credentials for pulling images
      --image-registry string      Registry to apply to all images (CLI, engine, pause, BCI, etc.), replacing any registry already specified in those images.
      --kubeconfig string          Kubernetes config (kubeconfig) path
  -l, --log-level string           log level (trace, debug, info, warn, error, fatal, panic) (default "info")
      --namespace string           The namespace to run DaemonSet pods. (default "longhorn-system")
      --node-selector string       Comma-separated list of key=value pairs to match against node labels, selecting the nodes the DaemonSet will run on (e.g. env=prod,zone=us-west).
      --tolerations string         Semicolon-separated list of tolerations for DaemonSet pods (e.g. key=value:NoSchedule;:NoExecute).

SEE ALSO

Auto generated by spf13/cobra on 6-Jul-2026