Opslag

Viser opslag fra februar, 2018

Making the Canonical distribution of Kubernetes, deployed using juju, work with the vsphere cloud provider

Billede
DISCLAIMER: As per the 1.9.4 update setting UUID in the configuration file is no longer supported, which renders this guide obsolete Lately I have been working with setting up a production ready kubernetes cluster. We are hosted in a vsphere private cloud. I came accross juju and the Canonical Distribution of Kubernetes (https://jujucharms.com/canonical-kubernetes/) which gives you a really smart and easy way to handle your cluster. Unfortunately CDK does not support vsphere storage provisioning out of the box even though it's supported natively in Kubernetes (it does require some setup). I know that Canonical are working on adding vsphere support but until then, here's how to achieve it. This post covers Kubernetes 1.9+ because setting up the vsphere cloud provider for kubernetes was simplified a lot with this release. Official VMware docs:  https://vmware.github.io/vsphere-storage-for-kubernetes/documentation/existing.html  Note that they differ from the current k