From 7dfc71bc33ecafe8853ed88ac8fb91f1f49331f2 Mon Sep 17 00:00:00 2001 From: yatin Date: Mon, 23 Jan 2017 12:30:43 +0530 Subject: [PATCH] [Doc] Update User Guide: User Examples 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. Change-Id: I27e5625c89daa50d243029bb0e736cf77c9a2941 Closes-Bug: #1656752 --- doc/source/userguide.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/userguide.rst b/doc/source/userguide.rst index ffe9eec315..4afae1f0e1 100644 --- a/doc/source/userguide.rst +++ b/doc/source/userguide.rst @@ -1710,9 +1710,9 @@ saved in local files as follows:: For Kubernetes, you need to get 'kubectl', a kubernetes CLI tool, to communicate with the cluster:: - wget https://github.com/kubernetes/kubernetes/releases/download/v1.2.0/kubernetes.tar.gz - tar -xzvf kubernetes.tar.gz - sudo cp -a kubernetes/platforms/linux/amd64/kubectl /usr/bin/kubectl + curl -O https://storage.googleapis.com/kubernetes-release/release/v1.2.0/bin/linux/amd64/kubectl + chmod +x kubectl + sudo mv kubectl /usr/local/bin/kubectl Now let's run some 'kubectl' commands to check the secure communication. If you used 'cluster-config', then you can simply run the 'kubectl' command