Prod & Dev clusters

Can some one help me with the steps to create Prod & Dev clusters in same set of master and worker nodes?

That would be bad practice to create production and dev on the same nodes. I am pretty certain that there are various international compliance laws that say developers should not have access to production networks.

Hi Alistair,
Thanks for you valuable comments.
I am new to Kubernetes, for learning purpose I would like to setup two different clusters on same set of nodes, will you be able to help me to achieve that?

If I understand you correctly, you are saying you have for example 3 virtual machines and you want to run 2 separate 3 node clusters across the same 3 VMs?

Not possible. You can only run one kubelet per node, and that kubelet owns the node and can be a member of only one cluster.

Your options:

  1. Minikube
  2. KinD
  3. Have 4 VMs and run two, 2-node kubeadm clusters.

1 and 2 allow you just to use Docker to host clusters