Difference between revisions of "CKA v1.18: Use label selectors to schedule Pods"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 6: | Line 6: | ||
* 4) Verify: <code>[[Kubectl get pods]] -o wide</code> | * 4) Verify: <code>[[Kubectl get pods]] -o wide</code> | ||
+ | == Related == | ||
+ | * [[Assign Pods to Nodes using Node Affinity]] | ||
== See also == | == See also == |
Revision as of 06:21, 16 March 2023
https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
- 1) Label:
kubectl label nodes
- 2) Define:
nodeSelector
- 3) Apply:
kubectl apply
- 4) Verify:
Kubectl get pods -o wide
Related
See also
Advertising: