ansible-vbox-vagrant-kubernetes
ansible-vbox-vagrant-kubernetes copied to clipboard
multiple master and worker nodes situation?
Hello, I tried to deploy a 3 master nodes and 2 workers nodes cluster, the result doesn't seem to be right.
Thanks
$ more Vagrantfile IMAGE_NAME = "bento/ubuntu-18.04" K8S_NAME = "k8s34" MASTERS_NUM = 3 MEM = 2048 CPU = 2 NODES_NUM = 3 IP_BASE = "192.168.34." ...
$ kubectl get nodes --all-namespaces NAME STATUS ROLES AGE VERSION k8s-m-1 Ready master 3h11m v1.18.3 $
@yxiao168 thanks for opening the issue. The Kubernetes Cluster using Vagrant and Ansible is aimed at developers of micro services or applications that need an almost complete K8S cluster in their local development machines. Please let me know why would you need a multi master Kubernetes local development environment so I can better understand the scenario. Thanks!
The reasons:
-
I am glad to find your tutorial intuitive, and as an alternative to kubespray, https://github.com/kubernetes-sigs/kubespray It is more "official" and supports multiple master and worker nodes, though it is not error-free.
-
The K8S stacks on GKE, EKS, and AKS are with multiple master nodes. The developers would like to test the K8S in different versions on a multiple master nodes environment on a local cluster.
Thanks @yxiao168 I will review and update the tutorial, I didn't try to deploy multiple masters so I will need to take that into account.