Jayesh Jose:
Trying to generate a yaml file using Imperative command and trying to pass a command with an argument , however argument option is not showing up in yaml file . kubectl run webapp --image=nginx --dry-run=client -o yaml --command ls -- -l
Tej_Singh_Rana:
You have to write manually if you wants your desire yaml format.