This document describes the procedure to setup the Kubernetes development environment that is needed for DL cluster deployment in docs/deployment.
Currently, DL workspace requires a multi-gpu aware Kubernetes build. Please access the Kubernetes build from either:
https://github.com/jinlmsft/kubernetes [branch multigpu-investigate1]
or https://github.com/sanjeevm0/kubernetes [branch multigpu-investigate]
We will need to build a local binary, output at _output/bin. As such, we need to install golang. Kubernetes needs Go version 1.6 and up, which the apt-get utility for Ubuntu 12.04 and 14.04 will only install Go version 1.4. As such, we will need the following procedures (please see explanation on http://www.hostingadvice.com/how-to/install-golang-on-ubuntu/) to install a moore latest Version of Go (1.7.4).
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
[[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm"
The changes in .bashrc will take effect.
gvm listall
gvm install go1.4
gvm use go1.4
export GOROOT_BOOTSTRAP=$GOROOT
gvm install go1.7.4
gvm use go1.7.4
make
at Kubernetes home directory. The needed output is at _output/bin
.