Tuesday, 18 November 2025

Show HN: Kk – A tiny Bash CLI that makes kubectl faster https://bit.ly/4o2QLNC

Show HN: Kk – A tiny Bash CLI that makes kubectl faster 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://bit.ly/4o1TaI8 chmod +x ~/bin/kk Repo: https://bit.ly/48ims0F Happy to hear feedback, suggestions, or ideas for small helpers to improve the kubectl experience. https://bit.ly/48ims0F November 19, 2025 at 07:22AM

No comments:

Post a Comment