From 7675b3c2b78e072635e40c6591a839f166ff445f Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Sat, 15 Apr 2017 14:50:09 -0500 Subject: [PATCH] Update documentation to make previously assumed steps explicit. This updates the documentation for KubeADM-AIO based development to explicity state previously assumed steps, and add the requirements to build OpenStack-Helm. This has been tested on a freshly provisioned AWS Ubuntu 16.04 AMI. Change-Id: Ie64f75ba29b5263d50ea2d4c26b6e6952ace9310 --- tools/kubeadm-aio/README.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/tools/kubeadm-aio/README.md b/tools/kubeadm-aio/README.md index f4822bcc0f..985dca853d 100644 --- a/tools/kubeadm-aio/README.md +++ b/tools/kubeadm-aio/README.md @@ -13,7 +13,32 @@ From a freshly provisioned Ubuntu 16.04 LTS host run: sudo apt-get update -y sudo apt-get install -y \ docker.io \ - nfs-common + nfs-common \ + git \ + make +``` + +### OS Independent Host setup: + +You should install the `kubectl` and `helm` binaries: + +``` bash +KUBE_VERSION=v1.6.0 +HELM_VERSION=v2.3.0 + +TMP_DIR=$(mktemp -d) +curl -sSL https://storage.googleapis.com/kubernetes-release/release/${KUBE_VERSION}/bin/linux/amd64/kubectl -o ${TMP_DIR}/kubectl +chmod +x ${TMP_DIR}/kubectl +sudo mv ${TMP_DIR}/kubectl /usr/local/bin/kubectl +curl -sSL https://storage.googleapis.com/kubernetes-helm/helm-${HELM_VERSION}-linux-amd64.tar.gz | tar -zxv --strip-components=1 -C ${TMP_DIR} +sudo mv ${TMP_DIR}/helm /usr/local/bin/helm +rm -rf ${TMP_DIR} +``` + +And clone the OpenStack-Helm repo: + +``` bash +git clone https://git.openstack.org/openstack/openstack-helm ``` ### Build and deploy the AIO environment