Kubernetes Cheatsheets

Updated for 2026 · Kubernetes ecosystem
Kubernetes cheatsheets you can copy, paste and ship.

Quick, searchable command references for kubectl, Helm, GitOps, networking, security, observability, cluster ops and AI on Kubernetes.

24 cheatsheets
BeginnerCore
Kubectl
$ kubectl get pods -A

Everyday kubectl commands for pods, deployments, logs, contexts and debugging.

#kubectl#pods#debugging#contexts
View cheatsheet →
BeginnerDeploy
Helm
$ helm upgrade --install

Install, upgrade, roll back and template charts with Helm.

#helm#charts#releases
View cheatsheet →
IntermediateDeploy
Kustomize
$ kubectl apply -k .

Bases, overlays, patches and generators for clean Kubernetes manifests.

#kustomize#overlays#patches
View cheatsheet →
BeginnerTools
k9s
$ k9s -n default

Keyboard shortcuts and views to drive your cluster from a terminal UI.

#k9s#tui#shortcuts
View cheatsheet →
BeginnerContainers
Docker CLI
$ docker run -it

Build, run, inspect and clean up containers and images.

#docker#images#containers
View cheatsheet →
BeginnerTools
Git
$ git rebase -i

Branching, rebasing, stashing and fixing mistakes with Git.

#git#branches#rebase
View cheatsheet →
IntermediateAI
K8sGPT
$ k8sgpt analyze --explain

Scan your cluster and get plain-English explanations of issues.

#k8sgpt#ai#troubleshooting
View cheatsheet →
IntermediateAI
kagent
$ kagent get agents

Build, run and manage AI agents natively on Kubernetes.

#kagent#agents#ai
View cheatsheet →
AdvancedAI
Kubeflow
$ kubectl get pods -n kubeflow

Pipelines, notebooks and model training on Kubernetes.

#kubeflow#mlops#pipelines
View cheatsheet →
IntermediateGitOps
Argo CD
$ argocd app list

Install Argo CD, log in, create and sync applications, roll back, and debug drift from the command line.

#argocd#gitops#sync
View cheatsheet →
IntermediateGitOps
Flux CD
$ flux get all -A

Bootstrap Flux, manage Git and Helm sources, reconcile Kustomizations and HelmReleases, and trace what.

#flux#gitops#helm
View cheatsheet →
IntermediateNetworking
Gateway API
$ kubectl get gateways,httproutes -A

Install the Gateway API CRDs, inspect Gateways and Routes, debug route status, and copy common manifests.

#gateway-api#httproute#routing
View cheatsheet →
IntermediateNetworking
Cilium
$ cilium status --wait

Install and check Cilium, observe traffic with Hubble, connect clusters with Cluster Mesh, and debug.

#cilium#ebpf#hubble
View cheatsheet →
IntermediateNetworking
Istio
$ istioctl analyze -A

Install Istio in sidecar or ambient mode, inspect proxy config, debug traffic rules and open the mesh.

#istio#mesh#mtls
View cheatsheet →
IntermediateObservability
Prometheus and PromQL
$ kubectl get servicemonitors -A

Install the kube-prometheus-stack, check scrape targets and rules, and copy the PromQL queries you need.

#promql#metrics#alerts
View cheatsheet →
BeginnerSecurity
Trivy
$ trivy image --severity HIGH,CRITICAL nginx

Scan images, file systems, IaC and live clusters for vulnerabilities, secrets and misconfigurations with.

#trivy#cve#sbom
View cheatsheet →
IntermediateSecurity
Kyverno
$ kubectl get clusterpolicies

Install Kyverno, apply and test policies, read policy reports and write a basic validation rule.

#kyverno#policy#admission
View cheatsheet →
BeginnerSecurity
Kubernetes RBAC
$ kubectl auth can-i --list

Check who can do what, create Roles and bindings, manage service account tokens and audit permissions.

#rbac#auth#serviceaccount
View cheatsheet →
BeginnerCluster Ops
kind and minikube
$ kind create cluster --name dev

Spin up local Kubernetes clusters with kind or minikube, load local images, enable add-ons and clean up.

#kind#minikube#local
View cheatsheet →
AdvancedCluster Ops
kubeadm and etcd
$ kubeadm certs check-expiration

Bootstrap and upgrade clusters with kubeadm, manage certificates and nodes, and back up and restore etcd.

#kubeadm#etcd#upgrade
View cheatsheet →
IntermediateBackup & DR
Velero
$ velero backup create daily

Install Velero, back up namespaces and volumes, schedule backups and restore into the same or a new namespace.

#velero#backup#restore
View cheatsheet →
IntermediateAutoscaling
Karpenter
$ kubectl get nodepools,nodeclaims

Inspect NodePools and NodeClaims, watch Karpenter launch and consolidate nodes, and control disruption on.

#karpenter#nodes#spot
View cheatsheet →
AdvancedAI
KServe
$ kubectl get inferenceservices -A

Deploy and inspect InferenceServices, send prediction requests, roll out canaries and serve LLMs on.

#kserve#inference#llm
View cheatsheet →
IntermediateAI
Kueue
$ kubectl get clusterqueues

Install Kueue, set up ResourceFlavors, ClusterQueues and LocalQueues, and track queued GPU and batch.

#kueue#gpu#batch
View cheatsheet →
No cheatsheets match that search yet.