Tools

Kubernetes Cheat Sheet

Print-ready cheat sheet for Kubernetes, organized for fast lookup, study, and desk-side use

Source
Kubernetes Documentation (kubernetes.io/docs)
License
MIT
Variants
3 download options
Updated
2026-03-27

Sample

What's in this cheat sheet

Cluster Info

kubectl cluster-info
kubectl get nodes
kubectl config current-context
kubectl config use-context my-cluster

Essential Commands

kubectl get <resource>List resources
kubectl describe <resource> <name>Detailed resource info
kubectl create -f file.yamlCreate resource from file
kubectl apply -f file.yamlCreate or update resource
kubectl delete -f file.yamlDelete resource from file
kubectl edit <resource> <name>Edit resource in-place
kubectl api-resourcesList all resource types

Output Formats

-o wideExtra columns (IP, node)
-o yamlFull YAML output
-o jsonFull JSON output
-o jsonpath='{.spec}'Extract specific fields
--sort-by=.metadata.nameSort output by field

Download the full cheat sheet for all sections, formatted for print

Download PDF

Downloads

Choose the treatment that matches how you read

Text formats

Copy or download as plain text

Download Markdown

Best for copying commands, snippets, and config into notes, prompts, or docs

Download Markdown

Preview

The web preview is for quick browsing. The PDF remains the authoritative print artifact

Open in Browser