New: K8sGPT Auto Remediation!

Back to Documentation

K8sGPT CLI Playground (Killercoda)

Interactive terminal environment for learning and experimenting with the K8sGPT CLI.

Overview

Explore the K8sGPT command-line interface (CLI) in a hands-on, interactive terminal environment powered by Killercoda. This playground allows you to experiment with K8sGPT commands in a pre-configured Kubernetes cluster without any local setup.

Accessing the Playground

Launch the interactive CLI scenario directly in your browser using the Killercoda platform:

No installation is required, just click the link to start the environment.

Features

  • Run K8sGPT CLI commands in a real terminal.
  • Interact with a pre-configured Kubernetes environment.
  • Test different analysis options and filters.
  • Experiment with authentication against an AI provider (if configured in the scenario).
  • Learn command syntax and explore output formats.
  • Requires only a web browser.

Using the Playground

Once the Killercoda environment loads, you will have access to a terminal where you can directly run k8sgpt commands.

Follow the instructions provided within the Killercoda scenario pane to guide your exploration. You can typically:

  1. Verify the K8sGPT installation (k8sgpt version).
  2. Configure AI provider details (if applicable to the scenario).
  3. Run analysis commands (k8sgpt analyze).
  4. Explore filtering and output options.
  5. Test specific analyzers.

Limitations

The Killercoda environment has some limitations:

  • Time-limited sessions (usually 1 hour).
  • Environment resets after the session ends.
  • Network access might be restricted.
  • Specific Kubernetes cluster configuration defined by the scenario.

Next Steps

After exploring the CLI playground, you can:

  • Install K8sGPT locally or in your own cluster.
  • Configure K8sGPT to use your preferred AI provider.
  • Integrate K8sGPT into your CI/CD pipelines or monitoring tools.
  • Dive deeper into the CLI Reference.