@Inderpreet@rahul456 I did it again, but it failed with ‘Service not found for nginx deployment or inccorect selectors were used’, but the service is there with the right name. I put the pod label at the selector, not the deployment one, as you can see in the following picture
So, the service can route to the pods. I saw that you improved the text a lot and a thank you for that. I think you should add to this task that the selector must use the deployments label.
As per the question I believe the labels app must have value app-nginx. The mapping seems correct but the labels value is incorrect as per requirements mentioned that’s why it failed I believe.
@Inderpreet
The task asks for the label app with nginx-app value in deployment, I don’t think it says the pods must have the same label. I gave the label app: nginx-app and type: front-end to deployment but gave app: nginx to pods (as you can see the deployment selector use app: nginx also)
Hello, @nenadmiladin
You defined label in pod template, services, but in the main case, you didn’t define label in the deployment which caused task got failed.
rahul456 and inderpreet can reassign you this task. They will look into this if it’s possible.
I can’t assign you this task. If you have any issue with the task. You can write your thoughts in the “Improve this task” option which is available in the below the each tasks.
HI guys @rahul456@Inderpreet, I have got a failed validation message, it say "NodePort is not correct’ while I have it specified on the nginx-service.yml file. Please check.