Kubernetes Cheatsheet
Newkubectl reference — resources, deployments, rollouts, debugging, and troubleshooting.
Frequently Asked Questions
What does 'Show full syntax' actually change?
It toggles each card between a short mnemonic command and the fuller syntax form with placeholders. For example, you can switch from a compact 'kubectl get pods' view to the longer syntax with optional namespace flags.
Can I copy the example separately from the syntax?
Yes. Each card has separate 'Copy syntax' and 'Copy example' buttons, so you can grab either the template form or the concrete example command.
Is this only kubectl commands, or are there YAML snippets too?
It's mostly kubectl, but it also includes minimal Deployment and Service YAML examples. Those appear as normal cards and participate in search and filtering just like command entries.
Will this talk to my cluster or read my kubeconfig?
No. It's a static reference. The component doesn't execute kubectl or inspect your current context.
Why does the kubectl cp entry mention tar?
Because the data set explicitly notes that kubectl cp depends on tar being available in the container image. That's a real gotcha when copying files into or out of minimal images.