Deploying Kubernetes on vSphere
Kubernetes can be installed on vSphere with the help of govc
(a vSphere CLI built on top of govmomi):
Before starting the setup, we'll have to install golang, which can be done in the following way on a Linux machine:
$ wget https://storage.googleapis.com/golang/go1.7.3.linux- amd64.tar.gz $ tar -C /usr/local -xzf go1.7.3.linux-amd64.tar.gz $ go Go is a tool for managing Go source code. Usage: go command [arguments]
Set the go path:
$ export GOPATH=/usr/local/go $ export PATH=$PATH:$GOPATH/bin
Download the pre-built Debian VMDK, which will be used to create the Kubernetes cluster on vSphere:
$ curl --remote-name-all https://storage.googleapis.com/ govmomi/vmdk/2016-01-08/kube.vmdk.gz{,.md5} % Total % Received % Xferd Average Speed Time Time Time Current ...