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
In ReplicaSet, under spec:
selector: matchLabels: app: App1