What do NodeSelectors do?
How do we create NodeSelectors?
pod-yaml:
spec:
containers:
- name:
image:
nodeSelector:
size: Largesize: large -> are lables assigned to the nodes to match and identify the right node
How do we label nodes?
‘kubectl label nodes < node-name> < label-key>=< label-value> ‘
kubectl label nodes node01 size=Large
What is the problem with NodeSelectors?