What is wrong here?

Please help.

Hi @debdeepmitra

Can you please share the link to the lab?

By the looks,it appears that the Deployment is using the wrong image (busybox888).

The idea of this question is to determine what is wrong.

If you tried to create the pod, and then do kubectl get pods you would see that it will be ImagePullBackoff. This means an issue with the image that you need to correct.

https://learn.kodekloud.com/user/courses/kubernetes-for-the-absolute-beginners-hands-on-tutorial/module/0919dae3-bc94-479f-b205-d52156817c98/lesson/a04dde16-f00b-454b-8314-8e7357b3d7ad

:point_up_2:This is the link to the lab.

Yes the question says, there is an error in the file and try to fix it. So I found the error to be, ‘deployment’ instead of ‘Deployment’ (a capital ‘D’ should be there in kind: deployment). After I fixed it, still it is not working.

Yes, that was one of the required fixes. There is also an issue with the image.
Please read the above reply by @Alistair_KodeKloud on troubleshooting Pod failures. You can use kubectl describe pod <Pod Name> And, you could see the issue in the Events section, that needs to be fixed.

Okay, got your point. Thanks for the support.