Let's put kubectl in ~/bin.

reviewable/pr2562/r1
Jorge O. Castro 2017-02-16 07:44:49 -05:00 committed by Andrew Chen
parent f348728060
commit ed63f9a8ce
1 changed files with 5 additions and 3 deletions
docs/getting-started-guides/ubuntu

View File

@ -159,15 +159,17 @@ juju scp kubernetes-master/0:config ~/.kube/config
Fetch a binary for the architecture you have deployed. If your client is a
different architecture you will need to get the appropriate `kubectl` binary
through other means.
through other means. In this example we copy kubectl to `~/bin` for convenience,
by default this should be in your $PATH.
```
juju scp kubernetes-master/0:kubectl ./kubectl
mkdir -p ~/bin
juju scp kubernetes-master/0:kubectl ~/bin/kubectl
```
Query the cluster:
./kubectl cluster-info
kubectl cluster-info
Output: