It's wrong to say "Run pod nginx" along with the spec being written to the file as the option --dry-run would make sure that the actual executing is not happening but only the preview is generated The statement would have been correct if the command were something like ... kubectl run nginx --image=nginx -o yaml > pod.yaml |
||
|---|---|---|
| .. | ||
| _index.md | ||
| cheatsheet.md | ||
| conventions.md | ||
| docker-cli-to-kubectl.md | ||
| jsonpath.md | ||
| kubectl-cmds.md | ||
| kubectl.md | ||