Kubernetes 101 : NodeSelectors, pods and scheduling
Displaying the clutser nodes:
Then we label the node we want to manually schedule our pod on. We will label the node with the label "graphics=nvidia":
Running our pod on the "nvidia" node:
We want to run our "nginx" application on an "nvidia" equipped node.
We check the labeling of our node using the below:
We check the labeling of our node using the below:
Then we create the pod that will run the "nginx" application on "node-1" that has the "graphics: nvidia" label:
Comments