Cheatsheet Pages / kubectl Cheatsheet

How to check which cluster kubectl is talking to — kubectl cluster-info

Before changing anything, you want proof of which cluster your commands will hit.

Placeholders follow the cheatsheet: web is a deployment/pod name and app.yaml is your manifest. Most commands act on the current namespace — add -n <ns> to target another one.

kubectl cluster-info          # control plane address + core service endpoints
kubectl Cheatsheet one-page card — commands that actually work
The full one-page card — kubectl Cheatsheet. Get the complete cheatsheet on GitHub