Akash Gheewala:
Hi all, I noticed that in the selector section of the service definition file (@ 10:54 in <https://kodekloud.com/topic/services-3/|this video>) Mumshad didn’t use “matchLabels” like he has in previous vids. Why is that? Can someone explain what matchLabels is used for in layman’s terms?
Mohamed Ayman:
the matchalbelses for the deployment and replicaset. and for the service, it is only selector.
Akash Gheewala:
gotcha, thanks!