Task Status - Failed
Pod name is incorrect
the namespace is dev
pod name is dev-nginx-pod
I think question is about Pod not Deployment. Even pod name is not correct because containing random generated hash value.
Try to create pod with this command.
kubectl run dev-nginx-pod --image=nginx:latest -n dev
Thank You for the update, I have noted