Skip to content

Commit

Permalink
Fixes per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsb committed Oct 22, 2016
1 parent 441043a commit 0ebd20c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion _data/guides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ toc:
path: /docs/getting-started-guides/kubeadm/
- title: Hello World on Google Container Engine
path: /docs/hellonode/
- title: Downloading kubectl
- title: Installing kubectl
path: /docs/getting-started-guides/kubectl/
- title: Downloading or Building Kubernetes
path: /docs/getting-started-guides/binary_release/
Expand Down
21 changes: 12 additions & 9 deletions docs/getting-started-guides/kubectl.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,29 @@ li>.highlighter-rouge {position:relative; top:3px;}

## Overview

kubectl is the command line tool you will use when interacting with kubernetes.
kubectl is the command line tool you use to interact with Kubernetes clusters.

You should use a version of kubectl that is newer than your server. `kubectl version` will print
the server and client versions.
You should use a version of kubectl that is at least as new as your server.
`kubectl version` will print the server and client versions. Using the same version of kubectl
as your server naturally works; using a newer kubectl than your server also works; but if you use
an older kubectl with a newer server you may see odd validation errors .

## Download a release

Download kubectl from the [official Kubernetes releases](https://console.cloud.google.com/storage/browser/kubernetes-release/release/):

On MacOS:

```
wget https://storage.googleapis.com/kubernetes-release/release/v1.4.3/bin/darwin/amd64/kubectl
```shell
wget https://storage.googleapis.com/kubernetes-release/release/v1.4.4/bin/darwin/amd64/kubectl
chmod +x kubectl
mv kubectl /usr/local/bin/kubectl
```

On Linux:

```
wget https://storage.googleapis.com/kubernetes-release/release/v1.4.3/bin/linux/amd64/kubectl
```shell
wget https://storage.googleapis.com/kubernetes-release/release/v1.4.4/bin/linux/amd64/kubectl
chmod +x kubectl
mv kubectl /usr/local/bin/kubectl
```
Expand All @@ -50,7 +52,7 @@ After Google Cloud SDK installs, run the following command to install `kubectl`:
gcloud components install kubectl
```

Do check that the version is sufficiently up-to-date using `kubectl version --client`.
Do check that the version is sufficiently up-to-date using `kubectl version`.

### Install with brew

Expand All @@ -60,4 +62,5 @@ If you are on MacOS and using brew, you can install with:
brew install kubectl
```

Do check that the version is sufficiently up-to-date using `kubectl version --client`.
The homebrew project is independent from kubernetes, so do check that the version is
sufficiently up-to-date using `kubectl version`.

0 comments on commit 0ebd20c

Please sign in to comment.