What is wrong here, can someone point please ,

Mayur Sharma:
what is wrong here, can someone point please ,

Hinodeya:
copy the yaml to /etc/kubernetes/manifests

Mayur Sharma:
I copied it .

Mayur Sharma:
Here is the command I ran ,
kubectl run static-busybox --image=busybox – sleep 1000 > /etc/kubernetes/manifests/static-busybox.yaml

Mayur Sharma:
name is showing in snapshot as same it is expecting …

Hinodeya:
it’s normally

Hinodeya:
The command was wrong

Hinodeya:
kubectl run static-busybox --image=busybox --dry-run=client --command sleep 1000 -o yaml > /etc/kubernetes/manifests/static-busybox.yaml

Mayur Sharma:
I missed the dry-ru :stuck_out_tongue:

Mayur Sharma:
-dry-run=client -o yaml

Hinodeya:
it works now

Mayur Sharma:
yo, thanks mate!