Deploying a Pod to a Node with a Label in Kubernetes
Last updated
Last updated
Run a command to get all labels for all cluster nodes
We can also run this to show nodes by label
Create a file named pod.yaml
and ensure that it has specified the node with the label disk=ssd
pod.yaml
Apply the YAML to your Kubernetes cluster
Run a command that will show the pods and their associated nodes