vuppuluri sriramsubhash:
For the spec.selector in deployment it accepts the matchlabels object where as for the spec.selector in service it does accept matchlabels it directly takes the dictionary as the input…is there any specific reason for this…can someone help me out on this
Tharanath:
You can read more here https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/