k8s Scheduling and Selectors
- Manually scheduling pods on nodes
The pod yaml definition, get's a Node: <Name> field added to schedule it to a specific node.
kubectl get pod --selector app=app1,env=dev
In ReplicaSet, under spec:
selector: matchLabels: app: App1