kubectl create a pod with dry-run

 You can use the following command to generate a yaml file to create a pod easily

 kubectl run mypod --restart=Never --image=nginx--dry-run=client -o yaml

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm