Under nodeselector, how it will determine or what will happen if two nodes has s . . .

Sakthivel G:
Under nodeselector, how it will determine or what will happen if two nodes has same label values example: Size:Large

Sergei Diachenko:
Scheduler will choose one node from all which have size:large label

Sreeram Meka:
@Sergei Diachenko Won’t the pods run on different nodes with the labels mentioned as part of pod spec, which I think is the responsibility of DaemonSet to run pods on different nodes?

Sergei Diachenko:
@Sreeram Meka yes, if you deploy your app as DaemonSet, it creates one pod per eligible node. If you deploy your app as Deployment, it creates necessary amount of pod but might place several pods on the same node.