Can you please help to let me know what is wrong in this task.
You put the name in the deployment, not in the pod. I guess the task asked to create a pod and you created it with a deployment. So the pods name has a hash appended to http-pod and hence the task failed
Got the point… Thanks for the clarification