[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
This commit is contained in:
yatin 2017-01-23 12:30:43 +05:30
parent 12379a3d73
commit 7dfc71bc33
1 changed files with 3 additions and 3 deletions

View File

@ -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