Appendix C: Tool Finder
This course is sorted by problems, not by tools. The Tool Finder turns this around: first the everyday question, then the tool and the day on which you tried it out. After that comes a profile for each tool with version and status as they applied at the time of writing, and at the end short profiles of tools that appear in the book only as an alternative or as a next step.
Problem → Tool
Using kubectl Well
| Problem | Tool | Day |
|---|---|---|
| What does this field mean, which type does it have? | kubectl explain |
1 |
| Which Pod runs on which node with which image? | -o custom-columns |
1 |
| Which container runs privileged? | -o jsonpath with a filter, jq with
any() |
1, 15 |
| Which Pods have no limits? | jq, your own plugin kubectl ohnelimits |
1, 14 |
| What just happened? | kubectl get events --sort-by |
1 |
| When is the rollout really finished? | kubectl wait --for=jsonpath,
kubectl rollout status |
1 |
| What would my manifest change in the cluster? | kubectl diff |
2 |
| Would the API server accept this? | --dry-run=server |
2 |
| Who owns this field? | Server-Side Apply, --show-managed-fields |
2 |
| How do I change just one value? | kubectl patch (strategic, merge, json) |
2 |
| How do I keep variants without copies? | kustomize, kubectl apply -k |
2 |
| Is this ServiceAccount allowed to do this? | kubectl auth can-i --as |
2 |
| Which clusters do I know, where am I right now? | kubectl config get-contexts, kubectx |
3 |
| Switch cluster or namespace quickly | kubectx, kubens | 3 |
| Always see where I am | kube-ps1 | 3 |
| Two clusters at the same time without interfering with each other | kubie | 3 |
| Time-limited access for a service or colleague | your own kubeconfig with kubectl create token |
3, 6 |
| What belongs to this Deployment? | kubectl tree |
4 |
| What does the manifest look like without runtime clutter? | kubectl neat |
4 |
| What is in this Secret, in plain text? | kubectl view-secret |
4 |
| Who may read Secrets? | kubectl who-can, rbac-tool who-can |
4, 11 |
| What may this ServiceAccount do, at a glance? | kubectl access-matrix |
4 |
| How full are the nodes (requests, limits)? | kubectl resource-capacity |
4, 9 |
| Which images run here? | kubectl images |
4 |
| A frequent query as a command of its own | shell plugin kubectl-<name>, plugin in Go |
4, 14 |
Seeing and Finding
| Problem | Tool | Day |
|---|---|---|
| Browse the cluster in the terminal without typing names | k9s | 5 |
| What is attached to a Deployment, down to Secrets and ServiceAccounts? | k9s :xray |
5 |
| A list as a table for a presentation | k9s Ctrl-S (CSV) |
5 |
| Many people, browser only, centrally operated | Headlamp in the cluster | 6 |
| One person, several clusters, local kubeconfig | Freelens, Headlamp as a desktop app | 6 |
| Which Pods are behind which Service? | Headlamp Map, EndpointSlices | 6 |
| Existing Kubernetes Dashboard | replace it, successor Headlamp | 6 |
| Logs of many Pods live, also after a rollout | stern | 7 |
| Logs of the crashed container | kubectl logs --previous, Pod status |
7 |
| Shell in a container without a shell | kubectl debug --target |
7 |
| Container dies too quickly to examine | kubectl debug --copy-to |
7 |
| Look at a node (disk, the runtime’s containers) | kubectl debug node/… |
7 |
| Does the name resolve? Does the service answer? | netshoot (dig, curl, nc) |
8 |
| What goes over the wire? | tcpdump in an ephemeral container | 8 |
| Who is dropped and why? | hubble observe --verdict DROPPED |
8 |
| What does the traffic look like as a whole? | Hubble UI | 8 |
Checking the State
| Problem | Tool | Day |
|---|---|---|
| Quick health check of a namespace | Popeye | 9 |
| Are there Services with nobody behind them? | Popeye, kube-linter, kube-score | 9, 10 |
| Will a manifest or chart break at the next upgrade? | Pluto | 9 |
| Usage against requests and limits | kubectl top,
kubectl resource-capacity --util |
9 |
| Which requests should I set? | Goldilocks, VPA in mode Off |
9 |
| Is this a valid object at all? | kubeconform | 10 |
Valid but unwise (limits, root, latest, PDB)? |
kube-linter, kube-score, Polaris | 10 |
| A score for files and clusters | Polaris | 10 |
| Known vulnerabilities in an image | Trivy image |
11 |
| A namespace including images, Pod specs and RBAC | Trivy k8s |
11 |
| Are nodes and control plane configured according to CIS? | kube-bench | 11 |
| Does the namespace meet a framework (NSA, MITRE)? | Kubescape | 11 |
| Who may do what, and where does the permission come from? | rbac-tool | 11 |
| Which Pods would violate a Pod Security level? | kubectl label --dry-run=server with
pod-security.kubernetes.io/enforce |
15 |
| What does this Helm upgrade change? | helm-diff | 12 |
| Is a chart OK before it runs? | helm template with kubeconform and kube-linter |
12 |
| Does the cluster deviate from Git, trigger a sync | argocd (CLI) |
12 |
| Trigger reconciliation, diff before merge, suspend | flux (CLI) |
12 |
Operations and Your Own Tools
| Problem | Tool | Day |
|---|---|---|
| Test an exact Kubernetes version, CI for operators | kind | 13 |
| Lightweight cluster with ingress and load balancer out of the box | k3d | 13 |
| Cluster and registry reproducible for a project | ctlptl (+ kind or k3d) | 13 |
| Change code, see it in the cluster immediately | Tilt or Skaffold (profile) | 13 |
| Production runs on Talos | talosctl (profile) | 13 |
| Plugin with all kubectl flags, for many platforms | Go with client-go and cli-runtime | 14 |
| Distribute a plugin in the team | Krew manifest, custom Krew index | 14 |
| Keep events longer than one hour | event exporter (only mentioned) | 1 |
| Personal access via the company login | OIDC with kubelogin (only mentioned) | 3 |
Profiles: Tools with a Drill
Version and status as in the respective chapter. If no status is given, the chapter says nothing about it.
Using kubectl Well (Days 0–4)
- kind · v0.33.0, Kubernetes v1.37.0 as the default
image · Days 0, 13 – Starts each node as a Docker container with kubeadm
inside; the tool of the Kubernetes developers themselves. For exact
upstream versions and CI. Switches the context on creation and leaves
current-contextempty on deletion. - kubectl · v1.37.2 · Days 0–15 – The client. A
kubectl that differs from the API server by more than one minor version
is not supported. Comes with
explain,diff,--dry-run=server, Server-Side Apply,patch, kustomize,auth can-i,auth whoami,debugand the plugin mechanism. - Kustomize (in kubectl) · v5.8.1 · Day 2 – Variants
from a base and an overlay without a copy and without a template
language,
kubectl apply -k. Helm instead of kustomize as soon as others are supposed to install a package with parameters. - Helm · v4.3.2 · Days 0, 6, 9, 12 – Package manager. Version 4 checks plugins for a signature by default.
- cilium-cli and Cilium · v0.20.3
and 1.20.5 · Days 0, 8 – The CLI installs Cilium via Helm and detects
kind on its own;
cilium hubble port-forwardopens the way to Hubble Relay. Cilium is the lab’s network, Hubble its observability layer. - jq · Days 1, 4, 7, 8, 11, 15 – For everything that
needs logic: “any”, “all”, grouping, counting, reshaping
-o json. - KubeDrill · Days 3, 13, 14 – Kubernetes simulator
without containers but with a real API, context
kubedrill. In the book, the second cluster for practicing context switches. Installation: it-trainingslager.de/kubedrill. - kubectx and kubens · 0.11.0 · Day
3 – Two small programs from one project: switch context and namespace,
-jumps back,-cshows the current one. They change the shared~/.kube/config. Withfzf, both show a selection list. - kube-ps1 · v1.0.0 · Day 3 – Writes context and
namespace into the prompt;
kubeoffandkubeontoggle the display. Separate production by color viaKUBE_PS1_CLUSTER_FUNCTION. - kubie · 0.28.0 · Day 3 – Own temporary kubeconfig
per shell (
kubie ctx),kubie execfor single commands. Made for two clusters in two terminals. - Krew · v0.5.0 · Days 4, 14 – Package manager for
kubectl plugins, itself a plugin. A good 400 plugins in the index.
Checks origin and checksums, not behavior. Custom indexes with
kubectl krew index add. - tree · v0.6.0 · Day 4 – Follows the
ownerReferencesdownwards: Deployment, ReplicaSets, Pods, also CiliumEndpoints. - neat · v2.0.4 · Day 4 – Removes status,
managedFields,uidand timestamps from an object; default values remain. - view-secret · v0.17.0 · Day 4 – Decodes Secrets. In
scripts, always with a key or
--all, otherwise it waits for a selection. - who-can · v0.4.0 · Day 4 – The opposite direction
to
kubectl auth can-i: who may use this verb on this resource? - access-matrix (formerly rakkess) · v0.5.0 · Day 4 –
All permissions of a subject (
--sa) or all subjects of a resource (for) as a table with LIST, CREATE, UPDATE, DELETE. - resource-capacity (kube-capacity) · v0.8.0 · Days
4, 9 – Requests and limits of all nodes or Pods at once, with
--utilnext to the real utilization (needs the metrics-server). - images · v0.6.5 · Day 4 – Which images run in which Pods and containers, with a summary.
Seeing and Finding (Days 5–8)
- k9s · v0.51.0 · Day 5 – Terminal UI with
continuously updated lists, keys for logs, describe, edit, shell, port
forward, XRay, CSV export. Custom plugins, hotkeys and aliases under
~/.config/k9s/.--readonlyfor production access. - Headlamp · 0.46.0 (chart and app) · Status: active,
under Kubernetes SIG UI · Days 6, 12, 15 – Web UI, in the cluster with
sign-in by token or outside with a kubeconfig (container, desktop app).
Hides what the account may not do. Without
clusterRoleBinding.create=false, the chart binds cluster-admin. OIDC via the chart values underconfig.oidc. - Freelens · 2.1.0 · Status: active · Day 6 – Desktop app (Electron) for Linux, macOS and Windows, free successor to OpenLens. Reads the kubeconfig like kubectl and thus also inherits its admin contexts.
- Kubernetes Dashboard · Status: archived since January 2026, no security updates · Day 6 – For a long time the standard web UI. In the archive notice, the maintainers recommend Headlamp. Replace existing installations.
- stern · 1.35.0 · Days 7, 15 – Follows all Pods
whose name matches a regular expression or that carry a label, and picks
up new Pods automatically. Filters with
--includeand--exclude, Go templates, JSON output. Also available as a Krew plugin. - kubectl debug (built in) · Days 7, 8 – Ephemeral
container in a running Pod (
--target), copy of a Pod (--copy-to), Pod on a node (node/…). Profilesgeneral,netadmin,sysadmin;sysadminis privileged. Debug image in the book:busybox:1.37.0. - netshoot · v0.17 · Days 8, 10, 11 – Container image
with network tools:
dig,curl,nc,tcpdump,ip,iperf3,mtrand many more. As a separate Pod or as an ephemeral container in a Pod’s network namespace. Brings many known vulnerabilities (Day 11) and does not belong permanently in production namespaces. - Hubble CLI · v1.20.4 · Days 8, 15 – Sees every connection that Cilium’s eBPF data path handles, with Pod names and the reason for dropped packets. Flows only in a ring buffer per node.
- Hubble UI · Day 8 – Service map of a namespace,
grouped by the label
app, filter on dropped flows. Good for someone who does not know the namespace; for filters, scripts and tickets, the CLI is better.
Checking the State (Days 9–12)
- Popeye · v0.22.1 · Status: dormant; not archived, last release January 2025, last commit April 2025 · Days 9, 15 – Reads all resources of a namespace or cluster and reports anomalies with a code, level and score. Custom exclusions via a spinach file. A quick overview, not the only check in the pipeline.
- Pluto · v5.24.5 · Status: active · Day 9 – Finds
deprecated and removed
apiVersions in files, Helm releases and in the cluster. Always with-t k8s=<version>. Exit codes for pipelines. - metrics-server · chart 3.14.0 (app 0.9.0) · Status:
active · Day 9 – Provides utilization for
kubectl top,resource-capacity --utiland k9s. In kind with--kubelet-insecure-tls, in the lab only. - VPA (Fairwinds chart) · chart 5.2.0 (app 1.7.1) ·
Status: active · Day 9 – In the book, only the recommender; updater and
admission controller switched off. Mode
Offmeans recommend only. - Goldilocks · chart 11.3.1 (app v4.16.3) · Status: active · Day 9 – Creates a VPA for each Deployment of a labeled namespace and shows the recommendations for Guaranteed and Burstable in a dashboard. Usable after a week of normal load.
- kubeconform · v0.8.0 · Days 10, 12 – Checks
manifests against the JSON schemas of a Kubernetes version, CRDs via
schema catalogs. Always with
-strict. - kube-linter · v0.8.3 · Days 10, 12 – Rule linter
with clear checks, configuration via
.kube-linter.yaml, exceptions via annotation. Does not read invalid files and then reports success, hence after kubeconform. - kube-score · v1.20.0 · Status: stalled at 1.20.0 from April 2025, but still maintained (last commit May 2026) · Day 10 – Checks relationships between objects (Service and Pods, PDB, NetworkPolicy) and explains each finding. According to the chapter, kube-linter and Polaris are the safer choice for new pipelines.
- Polaris · v10.2.6 · Days 10, 15 – The same rule set for files and running clusters, score from 0 to 100, exit codes, also as an admission webhook. During the file run, it does not know built-in roles.
- Trivy · v0.76.2 · Status: active · Day 11 – From Aqua Security. Scans images, file systems, repos and running clusters for vulnerabilities, misconfigurations and RBAC. Matches locally against a downloaded database. Signed with Cosign, installation with a checksum.
- kube-bench · v0.16.0 · Status: active · Day 11 –
Checks a node against the CIS Kubernetes Benchmark, runs as a Job on the
node being checked. The Jobs mount
/etc/kubernetesand/var/lib/etcd, hence with a fixed version. - Kubescape · v4.0.21 · Status: active, CNCF · Days
11, 15 – Assesses clusters and manifests against frameworks such as
NSA-CISA or MITRE ATT&CK; does not scan images. Results stay local
without
--submit. - rbac-tool · v1.20.0 · Status: dormant since late
2024, last release October 2024 · Days 11, 15 –
lookup,who-can,policy-rules: who may do what, and which role the permission comes from. Works against Kubernetes 1.37 because RBAC hardly changes. - Pod Security Admission (built in) · Days 8, 15 –
Enforces levels such as
baselineorrestrictedvia a namespace label. Ask beforehand via dry run who violates it;warnreports without rejecting. - helm-diff · v3.15.15 · Days 12, 15 – Shows before
helm upgradewhat changes, compares revisions,--detailed-exitcodefor pipelines. Under Helm 4, install it from the release archive with a signature. Still uses the older plugin format, which is whyhelm plugin listshowsmismatched provenance. - Argo CD (CLI and core installation) · v3.6.2 · Day
12 – In core mode only the controllers; the CLI talks directly to the
Kubernetes API with your kubectl permissions.
app create,diff,sync,wait,set --self-heal,delete. - Flux (CLI and two controllers) · v2.10.1 · Day 12 –
create source git,create kustomization,reconcile,diff,tree,suspendandresume,export.--target-namespacedoes not create the namespace.
Operations and Your Own Tools (Days 13–14)
- k3d · v5.9.0, k3s v1.35.5 as the default · Day 13 –
Starts k3s in Docker, with Traefik as ingress, load balancer,
metrics-server and storage out of the box. Context switching can be
turned off with
--kubeconfig-switch-context=false. - ctlptl · v0.9.6 · Day 13 – Describes a cluster and
a local registry in one YAML file;
applybuilds both and connects them, via the ConfigMaplocal-registry-hosting(KEP 1755). From the same team as Tilt. - Go · 1.27.4 · Day 14 – For plugins that support
kubectl flags properly and are distributed as a binary for many
platforms. Building for other platforms via
GOOSandGOARCH. - client-go, cli-runtime,
k8s.io/api · v0.37.2 · Day 14 – client-go talks to the
API server; cli-runtime provides all of kubectl’s connection flags with
genericclioptions.ConfigFlags. Version matching the cluster, at most one minor version apart. - cobra · v1.10.2 · Day 14 – Command-line framework
of the Go plugin, flags and
--help. - kubectl-ungesund (your own shell plugin,
“unhealthy”) · Day 4 – Shows Pods that are not
RunningorSucceededor have a container that is not ready; passes-n,-Aand selectors on tokubectl get pods. - kubectl-ohnelimits (your own Go plugin,
“withoutlimits”) · Day 14 – Lists containers without CPU or memory
requests and limits; exit 0, 1 or 2. Installable locally as a Krew
package (
detached/ohnelimits).
Profiles: Only Mentioned in the Book
You did not install these tools. This section only states what the chapters say about them.
- Tilt · v0.37.9 · license Apache 2.0 · Day 13 –
Watches the source code, builds the image on every change, pushes it
into the cluster (via a local registry such as the one from ctlptl) and
shows the logs of all services in one UI. Control file
Tiltfile(Starlark, similar to Python). For teams that develop several services locally at the same time. - Skaffold · v2.25.0 · Google · license Apache 2.0 ·
Day 13 – Building and rolling out on every change, with a focus on
pipelines:
skaffold devlocally,skaffold runandskaffold renderin CI, control fileskaffold.yaml. For when the same description should apply locally and in the pipeline. - talosctl · v1.14.7 · Day 13 – Command line for
Talos Linux, an operating system only for Kubernetes, without SSH and
without a shell, managed through an API. Like kind,
talosctl cluster createbuilds a cluster from containers, with real Talos inside. For when production runs on Talos. - kubeswitch · Status: no longer actively released since 2025 · Day 3 – A third tool with the same goal as kubectx and kubie: switching contexts.
- kdash and ktop · Day 5 – Other terminal UIs besides k9s. k9s is the standard most teams know.
- Lens and OpenLens · Days 5, 6 – Day 5 names Lens among the other UIs (“Lens in the terminal”). Freelens (Day 6) is a free successor to OpenLens.
- Event exporter · Day 1 – Collects events, which by default live for only one hour, so that you can look up later what happened.
- kubelogin · Day 3 – Personal access via OIDC with the company login instead of shared admin kubeconfigs.
- Trivy Operator · Day 11 – Runs the Trivy checks continuously in the cluster and writes VulnerabilityReports as CRDs.
- Kubescape operator · Day 11 – Adds runtime data in the cluster to Kubescape and closes the “Action Required” gaps of the kubelet checks.
- Kyverno and Gatekeeper · Days 9,
10, 14 – Policies in the cluster that enforce rules instead of just
reporting them. The same policies run in the pipeline
(
kyverno apply,gator test). In addition, Day 14 names the built-in ValidatingAdmissionPolicy. - GoReleaser · Day 14 – Takes care of building for all platforms, packaging and checksums for a Go plugin.
- krew-release-bot · Day 14 – Opens a pull request against the central Krew index after each release.
- vCluster · Day 13 – Virtual clusters in a shared cluster, the alternative to many Docker clusters on laptops when many people need development environments.
A few more names come up in passing, each with one sentence:
| Name | Context | Day |
|---|---|---|
| Starship, Powerlevel10k | prompt frameworks for zsh with their own Kubernetes modules | 3 |
| direnv | set KUBECONFIG per directory |
3 |
| Loki, OpenSearch, Fluent Bit, Alloy | central log collection that survives a night | 7 |
| Wireshark | opens the tcpdump capture (-w) locally |
8 |
| Hubble Exporter | export flows to files in order to keep them | 8 |
| Calico Enterprise, Retina, Linkerd, Istio | similar network views without Cilium, partly L7 only | 8 |
| Cosign | verifies release signatures (cosign verify-blob) |
11 |