whats the difference between --dry-run=client -o yaml and -o yaml when both gives the yaml file?
–dry-run creates exact yaml file here you need to change names, for -o yaml you will get yaml file with excessive lines where you need to delete all unwanted lines it’s a waste of time but you have to perform according to task…
Thanks a lot man
“–dry-run=client -o yaml” will not create the resource it will only create the yaml .
“-o yaml” will create the resource example pods , deployments , etc . and it will also create the yaml .