I have created all the deployment and service as per the description you can see the review here,
But i believe its a description error.
Question says says Create a service db under the same namespace. Port should be 5432, targetPort should be 5432 and its type should be ClusterIP
Without any selector attaching to the service, its a waste to create. I assumed db service is for db-deployment and i have exposed it. Now the error says service endpoint exposes deployment ‘db-deployment’.
Why do we need db service without any selector? Does that even make any sense of creating it?