module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 25, 2024
License: Apache-2.0
Opens a new window with license information.
README
¶
A toolset for inspecting Kubernetes clusters.
Provides SQL interface for querying information about K8s:
- Containers
- DaemonSets
- Deployments
- HorizontalPodAutoscalers
- Nodes
- Pods
- Services
- StatefulSets
Getting Started
Installation
[!IMPORTANT]
CGO_ENABLED=1 is required for DuckDB.
CGO_ENABLED=1 go install github.com/Hexta/k8s-tools/cmd/k8s-tools@latest
Usage
CLI Documentation
Examples
Internal DB
k8s-tools can save K8s cluster state in internal DB to ease analyzing.
DB Documentation
- Init DB.
k8s-tools db init
- Query data.
- Run SQL TUI.
k8s-tools db tui
Contributing
Please see our contributing guidelines.
Directories
¶
Click to show internal directories.
Click to hide internal directories.