Sakthivel G:
I have a doubt, why we are not using “match labels” keyword in service definition but the same has been used in replicaset ?
Mohamed Ayman:
The term matchLabel: tells what pods the deployment will apply to.
The set of pods that a service targets is defined with a label selector
So, matchLabels are not supported by Service, but only certain new resources like Deployment.