I am new to the course and getting an error
kubectl get pod nginx-pod -o yaml > pod-definition.yaml
(it’s not not an arrow)
doesnt it also need a --dry-run=client
No for getting the pod that exists.
–dry-run=client is when you would like to make a template for one.
i thought its used for getting a template from an existing pod, without creating one…& then e move it to a new yaml & then crdate a new pod using tht yaml