Clarifying a concept on on kubectl create command to deploy a pod

My understanding is that kubectl can be run from a Master node only. If that is correct, how do we specify which worker node should the pod be created on?

In the example covered in the Udemy CKA course by Mumshad (Section 22 titled Demo: Pods with Yaml), the pod is created on the node the kubectl command was run on. I would like to confirm whether kubectl create command can be run on a worker node. If not, how de we deploy the pod on a worker node of our choice?

Actually, that’s not the case. You can run kubectl from anywhere as long as you have network access to the IP of the kube-apiserver end point, and your kubeconfig file points to that endpoint. So there’s no need to run it from a master node.

Awesome; thank you for clarifying Rob!