interactive kubectl wrapper to make your life easier
- Python 100%
| docs | ||
| src/ckc | ||
| tests | ||
| .gitignore | ||
| mkdocs.yml | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
ckc
Interactive kubectl wrapper with fzf. Build kubectl commands via interactive selection — print by default, execute with --wet.
Quick Start
uv sync
uv run ckc --help
Concept
- Default dry-run: prints the kubectl command, does not execute
--wetflag: actually runs the command- fzf selection: fuzzy-find namespaces, pods, resources, contexts
- Skip fzf: use
-n,-p,--nameflags to go non-interactive
Commands
| Command | Alias | |
|---|---|---|
infer-node |
in |
Find node for a pod |
logs |
lo |
View pod logs |
exec |
ex |
Exec into a pod |
context |
ctx |
Switch kubectl context |
namespace |
ns |
Switch default namespace |
describe |
ds |
Describe a resource |
port-forward |
pf |
Port-forward to a pod |
delete |
rm |
Delete a single resource |
del |
— | Bulk delete all resources of a type |
restart |
rs |
Rollout restart |
events |
ev |
Show events |
get |
— | Interactive get builder |
Docs
uv run mkdocs serve
Or see docs/ directory for per-command documentation.