Story

Show HN: Kk – A tiny Bash CLI that makes kubectl faster

nkheart Wednesday, November 19, 2025

I built "kk", a small Bash wrapper around kubectl that makes common Kubernetes workflows faster. It's not a plugin or a compiled binary. It's just a single script you can drop into ~/bin.

The goal is to reduce repetitive kubectl patterns without replacing kubectl itself.

Some things it helps with: - pod selection by substring (auto-fzf if available) - multi-pod logs with prefixing and grep support - quick exec into pods - checking the actual images running in pods - restarting deployments with pattern matching - port-forwarding with pod auto-selection - quick describe/top/events - context switching shortcuts

Examples:

    kk pods api
    kk sh api
    kk logs api -f -g ERROR
    kk images api
    kk restart api
    kk pf api 8080:80
    kk desc api
    kk top api
    kk events
    kk ctx
    kk deploys
Installation:

    curl -o ~/bin/kk https://raw.githubusercontent.com/heart/kk-Kubernetes-Power-Helper-CLI/main/kk
    chmod +x ~/bin/kk
Repo: https://github.com/heart/kk-Kubernetes-Power-Helper-CLI

Happy to hear feedback, suggestions, or ideas for small helpers to improve the kubectl experience.

Summary
kk-Kubernetes-Power-Helper-CLI is a command-line tool that simplifies the management of Kubernetes clusters, providing users with an efficient way to interact with their Kubernetes environments and perform common tasks.
2 0
Summary
github.com
Visit article Read on Hacker News