kshlm / gd2-k8s

Deploy GD2 on K8S with Ansible (and Vagrant)
0 stars 3 forks source link

Create kubernetes setup with 1 master 3 nodes #2

Open Madhu-1 opened 6 years ago

Madhu-1 commented 6 years ago

currently, I see once 3 vms are created in gd2-k8s cluster kube1 kube2 kube3 is it meant to be 3 nodes and 1 of the node is considered a master? if yes, can we separate out the master by creating a cluster of 1 master and 3 nodes setup?

kshlm commented 6 years ago

Why though? What do you get by having a separate master?

Madhu-1 commented 6 years ago

it good to have a separate master as we should not disturb the workload on master VM. if we start bringing the containers(app pods) on the master node, even after some time the master components will go down due to the resource constraints.

humblec commented 6 years ago

I agree with @Madhu-1 , master is normally unschedulable. So its better to have one master and 3 worker nodes.

kshlm commented 6 years ago

Kubespray defaults to having 2 master nodes though. So the load gets shared. But anyways, how big of a concern is this, just for a local development deployment? We are not saying that this is the preferred setup for production deployments.

humblec commented 6 years ago

@kshlm we are planning to make use of this for CSI driver e2e testing with all the driver functionalities. I expect a moderized load in such a setup.