OS Manuals

/usr/bin/k8sgpt

Giving Kubernetes Superpowers to everyone

From k8sgpt 0.4.33-r5 (os), captured 2026-11-05 by running k8sgpt --help (exit 0). permalink

Also provided by 1 other package version
Kubernetes debugging powered by AI

Usage:
  k8sgpt [command]

Available Commands:
  analyze         This command will find problems within your Kubernetes cluster
  auth            Authenticate with your chosen backend
  cache           For working with the cache the results of an analysis
  completion      Generate the autocompletion script for the specified shell
  custom-analyzer Manage a custom analyzer
  dump            Creates a dumpfile for debugging issues with K8sGPT
  filters         Manage filters for analyzing Kubernetes resources
  generate        Generate Key for your chosen backend (opens browser)
  help            Help about any command
  integration     Integrate another tool into K8sGPT
  serve           Runs k8sgpt as a server
  version         Print the version number of k8sgpt

Flags:
      --config string        Default config file (/tmp/.config/k8sgpt/k8sgpt.yaml)
  -h, --help                 help for k8sgpt
      --kubeconfig string    Path to a kubeconfig. Only required if out-of-cluster.
      --kubecontext string   Kubernetes context to use. Only required if out-of-cluster.
  -v, --verbose              Show detailed tool actions (e.g., API calls, checks).

Use "k8sgpt [command] --help" for more information about a command.
Options (5)
OptionDescriptionSource
--config stringDefault config file (/tmp/.config/k8sgpt/k8sgpt.yaml)help
-h, --helphelp for k8sgpthelp
--kubeconfig stringPath to a kubeconfig.help
--kubecontext stringKubernetes context to use.help
-v, --verboseShow detailed tool actions (e.g., API calls, checks).help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.