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?