Sayan Mondal:
Hey! While covering Section 3 of the CKA course I had this doubt on Node Selectors, if we already have matchLabels
under normal selectors
why can’t we use the same for Nodes as well! Why do we require a Node Selector separately! Can’t we just add a label to the node and use matchLabels: <given_node_label>
?
Mohamed Ayman:
It’s a kubernetes syntax. to select a specific node, you have to use nodeSelector.
Sayan Mondal:
Alright, got it, thanks :thank_you: