caiobegotti
Pod-Dive
Go

A kubectl plugin to dive into your Kubernetes nodes pods, and inspect them.

Last updated Dec 30, 2025
61
Stars
7
Forks
4
Issues
0
Stars/day
Attention Score
13
Language breakdown
Go 76.0%
Makefile 24.0%
โ–ธ Files click to expand
README

Pod dive

dive into kubernetes nodes workloads

A kubectl Krew plugin to dive into your Kubernetes nodes pods, and inspect them.

Icon art made by Smashicons from Flaticon. We had one before Krew itself, go figure.

Quick Start

If you don't use Krew to manage kubectl plugins you can simply download the binary here and put it in your PATH.

kubectl krew install pod-dive
kubectl pod-dive

Why use it

It's much faster than running multiple kubectl commands and having to scroll up and down to look for critical pod info.

What does it look like

$ kubectl pod-dive --help
Dives into a node after the desired pod and returns data associated
with the pod no matter where it is running, such as its origin workload,
namespace, the node where it is running and its node pod siblings, as
well basic health status of it all.

The purpose is to have meaningful pod info at a glance without needing to run multiple kubectl commands to see what else is running next to your pod in a given node inside a huge cluster, because sometimes all you've got from an alert is the pod name.

Usage: pod-dive [pod name] [flags]

Examples:

Cluster-wide dive after a pod $ kubectl pod-dive thanos-store-0

Restricts the dive to a namespace (faster in big clusters) $ kubectl pod-dive elasticsearch-curator-1576112400-97htk -n logging

$ kubectl pod-dive kafka-operator-kafka-0
[node]      gke-staging-default-pool-acca72c6-klsn [ready]
[namespace]  โ”œโ”€โ”ฌ kafka
[type]       โ”‚ โ””โ”€โ”ฌ statefulset
[workload]   โ”‚   โ””โ”€โ”ฌ kafka-operator-kafka [3 replicas]
[pod]        โ”‚     โ””โ”€โ”ฌ kafka-operator-kafka-0 [pending]
[containers] โ”‚       โ”œโ”€โ”€ kafka [1 restart]
             โ”‚       โ”œโ”€โ”€ tls-sidecar [0 restarts]
             โ”‚       โ”œโ”€โ”€ vault-renewer [2 restarts]
             โ”‚       โ”œโ”€โ”€ vault-authenticator [init, 0 restarts]
             โ”‚       โ””โ”€โ”€ kafka-init [init, 0 restarts]
            ...
[siblings]   โ”œโ”€โ”€ cassandra-0
             โ”œโ”€โ”€ debug-b58f6f7f8-hbfw5
             โ”œโ”€โ”€ ignite-memory-web-agent-cc75c9987-nfh6p
             โ”œโ”€โ”€ jaeger-agent-daemonset-gmhm7
             โ”œโ”€โ”€ jaeger-query-7dc45cfc9f-mzfg6
             โ”œโ”€โ”€ kafka-operator-zookeeper-0
             โ”œโ”€โ”€ calico-node-dgvht
             โ”œโ”€โ”€ calico-typha-65bfd5544b-kjjjh
             โ”œโ”€โ”€ fluentd-gcp-scaler-6bc97c54b4-xftsm
             โ”œโ”€โ”€ fluentd-gcp-v3.1.1-b9zhf
             โ”œโ”€โ”€ ip-masq-agent-jtjxz
             โ”œโ”€โ”€ kube-dns-autoscaler-bb58c6784-j9n4h
             โ”œโ”€โ”€ kube-proxy-gke-staging-default-pool-acca72c6-klsn
             โ”œโ”€โ”€ metrics-server-v0.3.1-7b4d7f457-v6mfp
             โ”œโ”€โ”€ prometheus-to-sd-47n9b
             โ”œโ”€โ”€ vpa-recommender-8667dc8d75-9j4vl
             โ”œโ”€โ”€ fluent-bit-rj8cn
             โ”œโ”€โ”€ prometheus-operator-grafana-7f478cc944-g7rvw
             โ”œโ”€โ”€ prometheus-operator-kube-state-metrics-79486d7f6d-9r9q5
             โ”œโ”€โ”€ prometheus-operator-operator-777f86b5f7-njr9n
             โ””โ”€โ”€ prometheus-operator-prometheus-node-exporter-8w8tv

WAITING: kafka imagepullbackoff TERMINATION: vault-renewer error (code 7)

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท caiobegotti/Pod-Dive ยท Updated daily from GitHub