Merge pull request #11533 from satnam6502/doc28
Fix console output for prereqs.md doc
This commit is contained in:
commit
99d2ea4acc
@ -42,7 +42,7 @@ or if you build from source, kubectl should be either under _output/local/bin/<o
|
|||||||
|
|
||||||
Next, make sure the kubectl tool is in your path, assuming you download a release:
|
Next, make sure the kubectl tool is in your path, assuming you download a release:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
# OS X
|
# OS X
|
||||||
export PATH=<path/to/kubernetes-directory>/platforms/darwin/amd64:$PATH
|
export PATH=<path/to/kubernetes-directory>/platforms/darwin/amd64:$PATH
|
||||||
|
|
||||||
@ -64,11 +64,11 @@ The kubectl binary doesn't have to be installed to be executable, but the rest o
|
|||||||
|
|
||||||
The simplest way to install is to copy or move kubectl into a dir already in PATH (e.g. `/usr/local/bin`). For example:
|
The simplest way to install is to copy or move kubectl into a dir already in PATH (e.g. `/usr/local/bin`). For example:
|
||||||
|
|
||||||
```bash
|
```console
|
||||||
# OS X
|
# OS X
|
||||||
sudo cp kubernetes/platforms/darwin/amd64/kubectl /usr/local/bin/kubectl
|
$ sudo cp kubernetes/platforms/darwin/amd64/kubectl /usr/local/bin/kubectl
|
||||||
# Linux
|
# Linux
|
||||||
sudo cp kubernetes/platforms/linux/amd64/kubectl /usr/local/bin/kubectl
|
$ sudo cp kubernetes/platforms/linux/amd64/kubectl /usr/local/bin/kubectl
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Configuring Kubectl
|
#### Configuring Kubectl
|
||||||
@ -83,7 +83,7 @@ If your cluster was deployed by other means (e.g. a [getting started guide](../g
|
|||||||
|
|
||||||
Check that kubectl is properly configured by getting the cluster state:
|
Check that kubectl is properly configured by getting the cluster state:
|
||||||
|
|
||||||
```sh
|
```console
|
||||||
$ kubectl cluster-info
|
$ kubectl cluster-info
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user