Skip to content
forked from k8sgpt-ai/k8sgpt

Giving Kubernetes Superpowers to everyone

License

Notifications You must be signed in to change notification settings

miguicap/k8sgpt

Repository files navigation

Text changing depending on mode. Light: 'So light!' Dark: 'So dark!'

Install it now

brew tap k8sgpt-ai/k8sgpt
brew install k8sgpt

k8sgpt is a tool for scanning your kubernetes clusters, diagnosing and triaging issues in simple english.

It has SRE experience codified into it's analyzers and helps to pull out the most relevent information to enrich it with AI.

Analyzers

K8sGPT uses analyzers to triage and diagnose issues in your cluster. It has a set of analyzers that are built in, but you will be able to write your own analyzers.

Built in analyzers

  • podAnalyzer
  • pvcAnalyzer
  • rsAnalyzer
  • serviceAnalyzer
  • eventAnalyzer

Usage

# Ensure KUBECONFIG env is set to an active Kubernetes cluster
k8sgpt auth
k8sgpt find problems 
# for more detail
k8s find problems --explain

Upcoming major milestones

  • Multiple AI backend support
  • Custom AI/ML model backend support
  • Custom analyzers

What about kubectl-ai?

The the kubectl-ai project uses AI to create manifests and apply them to the cluster. It is not what we are trying to do here, it is focusing on writing YAML manifests.

K8sgpt is focused on triaging and diagnosing issues in your cluster. It is a tool for SRE, Platform & DevOps engineers to help them understand what is going on in their cluster. Cutting through the noise of logs and multiple tools to find the root cause of an issue.

Configuration

k8sgpt stores config data in ~/.k8sgpt the data is stored in plain text, including your OpenAI key.

Contributing

Please read our contributing guide.

Community

About

Giving Kubernetes Superpowers to everyone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.9%
  • Makefile 2.6%
  • Other 1.5%