Kubernetes on VMware vSphere Best Practices

Hi All,

I’m looking for any documentation/articles on using k8s on top of VMware vSphere.
Something like a best practices for k8s and vSphere.

If someone could share some information or experiencie, that would be great!!

Best Regards!

Hi,

https://vmware.github.io/vsphere-storage-for-kubernetes/documentation/overview.html

I used these docs and it is working fine, however you need to be fully integrated, means that VSphere is configured as cloud provider in k8s.

A fairly recent VSphere API should work, older ones like 6.0 and older did not work that nice.
Your VSphere API should be fast too, a very slow or hanging VSphere API will have great impact on e.g. Volume Provisioning.

Other than that it’s working fine :slight_smile:

Kind regards,

David

Hi David,

Thanks for sharing the link.
I’m wondering if you created any Resource Pool to isolate your cluster load or if you changed anything at DRS and affinity levels?

Best Regards,


Fernando

Hi Fernando,

yes I did, but I had to look through the Go code to be able to create the vsphere.conf accordingly, there is stuff that is not completely clear from the docs. I would like to share this information with you but I think I am not allowed to :slight_smile:

As for DRS and affinity - you should split the masters on your datacenters a.s.o.

Kind regards,

David

Hi David,

Thank you very much.

Kind Regards,

Fernando