CKA v1.18: Use label selectors to schedule Pods
Jump to navigation
Jump to search
https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
- 1) Label:
kubectl label nodes
- 2) Define:
spec.NodeSelector
inkind: Pod
- 3) Apply:
kubectl apply
- 4) Verify:
Kubectl get pods -o wide
Related
See also
Advertising: