Skip to content

kvendingoldo/k8s-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k8s-info

A CLI tool to gather Kubernetes cluster information, including:

  • All Kubernetes API versions
  • Kubernetes cluster version
  • Node count, OS version, CPU, and memory
  • List of all Docker images in the cluster

Installation

With Python (requires Python 3.8+)

pip install uv
uv pip install .

With Docker

Build the image:

docker build -t k8s-info .

Run the CLI (mount your kubeconfig if running outside the cluster):

docker run --rm -v $HOME/.kube:/root/.kube k8s-info

Usage

k8s-info [--log-level INFO|DEBUG|WARNING|ERROR|CRITICAL]

Development

  • Linting: Ruff
    ruff check .
  • Dependency management: uv
    uv pip install .

License

MIT

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages