setting up deployment on multi-node kubernetes
1
I'm just starting to explore Kubernetes, and there is one thing I find unclear. Suppose I have a master node that I have set up with kubeadm , and another two worker nodes that I had joined to master. Now I have a yaml file that specifies the details of a Deployment and I need to run: kubectl create -f dep.yaml Do I need to run this command on master only? and then the master may or may not decide to use both worker nodes for the deployment according to optimal load distribution? Or do I need to run this in all worker nodes?
kubernetes
share | improve this question
edited Nov 12 '18 at 15:59
Anthon
...