Back to Home11/19/2025, 6:22:09 AM

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

1 points
0 comments

Mood

calm

Sentiment

positive

Category

tech

Key topics

Kubernetes

CLI

Bash

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.

The author is sharing a new Bash CLI tool called 'kk' that simplifies and speeds up kubectl usage, but the post has not generated any discussion yet.

Snapshot generated from the HN discussion

Discussion Activity

No activity data yet

We're still syncing comments from Hacker News.

Generating AI Summary...

Analyzing up to 500 comments to identify key contributors and discussion patterns

Discussion (0 comments)

Discussion hasn't started yet.

ID: 45976446Type: storyLast synced: 11/19/2025, 6:24:16 AM

Want the full context?

Jump to the original sources

Read the primary article or dive into the live Hacker News thread when you're ready.