- Home
- All questions
- Question 478
CKA study material · question 478 of 1000
Which command produces a valid manifest skeleton without creating anything?
Show the answer
Answer: B. kubectl run <name> --image=<image> --dry-run=client -o yaml
--dry-run=client with -o yaml generates the manifest without contacting the cluster to create the object.
Source: kubectl Quick Reference (Kubernetes) — Interacting with running Pods