vmware-archive / kubernetes-archived

This repository is archived. Please file in-tree vSphere Cloud Provider issues at https://github.com/kubernetes/kubernetes/issues . CSI Driver for vSphere is available at https://github.com/kubernetes/cloud-provider-vsphere
Apache License 2.0
46 stars 31 forks source link

Analyze support for vSphere cloud provider in multi master mode #303

Open SandeepPissay opened 7 years ago

SandeepPissay commented 7 years ago

Currently we do not test vSphere cloud provider in multi master mode. Filing this issue to find out whether VCP would work. If no, lets use this issue to fix it.

kubo/bosh supports deploying k8s cluster in multi master mode and VCP should be ready to support it.

There is also a separate customer asking for this functionality.

tusharnt commented 6 years ago

@rohitjogvmw has concluded that no code changes are required in VCP for active-passive controller-manager configuration. As per @SandeepPissay , locking logic in VCP would need updates in case of active-active controller-manager configuration. @divyenpatel to confirm this and identify if there are any changes required.

rjog commented 6 years ago

As per the multi-master documentation only one controller-manager would be running at any point. That is controller-manager works in active-passive mode. Where as etcd, API-server runs on all master nodes.

For more details, please see section (https://kubernetes.io/docs/admin/high-availability/#master-elected-components)

https://kubernetes.io/docs/admin/high-availability/ also describes steps to convert existing single master k8s cluster to multi-master k8s cluster. I think, it should be testing efforts only for existing (in-tree) VCP.