From c5713a3731861a48696f8b30e9144d6e0df964f9 Mon Sep 17 00:00:00 2001 From: prameswar Date: Sat, 14 Jan 2017 09:39:46 +0000 Subject: [PATCH] [Doc] Update quickstart Guide: Using a Kubernetes Cluster Instead of downloading kubernetes.tar.xz for extracting "kubectl" binary, we should download only kubectl binary(v1.2.0) for accessing kubernetes cluster. Reason for this change: The tar archive is of large size(above 100MB for v1.0.1 and above 400MB for v1.2.0) which is not required. Closes-Bug: #1656752 Change-Id: I6c0013c6900252486129a9ba0e7d9df23d577d77 --- doc/source/dev/quickstart.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/source/dev/quickstart.rst b/doc/source/dev/quickstart.rst index 908e347d5f..6c032cd531 100644 --- a/doc/source/dev/quickstart.rst +++ b/doc/source/dev/quickstart.rst @@ -373,11 +373,12 @@ Using a Kubernetes Cluster k8s cluster created previously. Kubernetes provides a number of examples you can use to check that things are -working. You may need to clone kubernetes using:: +working. You may need to download kubectl binary for interacting with k8s +cluster using:: - wget https://github.com/kubernetes/kubernetes/releases/download/v1.0.1/kubernetes.tar.gz - tar -xvzf kubernetes.tar.gz - sudo cp -a kubernetes/platforms/linux/amd64/kubectl /usr/bin/kubectl + curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.2.0/bin/linux/amd64/kubectl + chmod +x ./kubectl + sudo mv ./kubectl /usr/local/bin/kubectl We first need to setup the certs to allow Kubernetes to authenticate our connection. Please refer to