Skip to content

feat(plugins): add behold, which draws the selected object with kubectl behold - #4390

Open
lex00 wants to merge 1 commit into
derailed:masterfrom
lex00:add-behold-plugin
Open

lex00 wants to merge 1 commit into
derailed:masterfrom
lex00:add-behold-plugin

Conversation

@lex00

@lex00 lex00 commented Nov 15, 2026

Copy link
Copy Markdown

Adds plugins/behold.yaml and its row in plugins/README.md.

Shift-B on a Deployment, StatefulSet, DaemonSet, ReplicaSet, Service, Pod, Job, CronJob or Ingress runs kubectl behold <kind>/<name> -n <ns> --context <ctx> --kubeconfig <file> in the background. That draws the object with what it references and what references it, and opens the picture in a browser. It only reads from the cluster.

It needs the kubectl-behold plugin (krew manifest submitted to krew-index) and Node 20 or newer. The header comment notes that kubectl-get-in-shell.yaml also uses Shift-B, so anyone loading both should change one shortCut.

Checked with k9s v0.51.0 against a local k3d cluster: Shift-B on a Deployment opened the view of it. The entry is the one from that check, with only comment lines added.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant