Question about selector: • Does it always require matchLabels subkey?

Sudhir Chauhan:
Question about selector:
• Does it always require matchLabels subkey ?

R Banerjee:
Yes , IIUC

Aravind Raj Mahadevan:
Not everything requires it. Replicasets and Daemonsets, for example, requires it. Whereas Services don’t require it. Always remember to check the documentation when in doubt.

R Banerjee:
aah, my response was for Daemonsets… :slightly_smiling_face: