mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Merge pull request #10890 from caesarxuchao/node-selection-output
update the kubectl get command in examples/node-selection
This commit is contained in:
commit
bad704f355
@ -53,7 +53,7 @@ spec:
|
|||||||
disktype: ssd</b>
|
disktype: ssd</b>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
When you then run `kubectl create -f pod.yaml`, the pod will get scheduled on the node that you attached the label to! You can verify that it worked by running `kubectl get pods` and looking at the "host" that the pod was assigned to.
|
When you then run `kubectl create -f pod.yaml`, the pod will get scheduled on the node that you attached the label to! You can verify that it worked by running `kubectl get pods -o wide` and looking at the "NODE" that the pod was assigned to.
|
||||||
|
|
||||||
### Conclusion
|
### Conclusion
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user