Fix Markdown on documentation for install-kubectl (#9975)

* Fix Markdown on documentation for install-kubectl 

Section modified: "Install with Powershell from PSGallery"

* Update install-kubectl.md

* Feedback from PR review with gramamtically incorect sentence and markdown rendering in install-kubectl.md

Update install-kubectl.md

Update install-kubectl.md

Update install-kubectl.md

Update install-kubectl.md
pull/10358/head
Damien Duportal 2018-09-20 19:43:53 +02:00 committed by k8s-ci-robot
parent f20ce9df64
commit c22f068daa
1 changed files with 11 additions and 8 deletions

View File

@ -99,8 +99,7 @@ If you are on macOS and using [Macports](https://macports.org/) package manager,
If you are on Windows and using [Powershell Gallery](https://www.powershellgallery.com/) package manager, you can install and update kubectl with Powershell.
To install:
* Run the installation commands (making sure to specify a DownloadLocation):
1. Run the installation commands (making sure to specify a `DownloadLocation`):
```
Install-Script -Name install-kubectl -Scope CurrentUser -Force
@ -108,17 +107,21 @@ To install:
```
{{< note >}}
**Note:** If you do not specify a DownloadLocation, kubectl will be installed in the user's temp Directory.
**Note:** If you do not specify a `DownloadLocation`, `kubectl` will be installed in the user's temp Directory.
{{< /note >}}
The installer creates $HOME/.kube and instructs it to create a config file
To update:
* Run the update commands:
The installer creates `$HOME/.kube` and instructs it to create a config file
2. Test to ensure the version you installed is sufficiently up-to-date:
```
re-run Install-Script to update the installer
re-run install-kubectl.ps1 to install latest binaries
kubectl version
```
{{< note >}}
**Note:** Updating the installation is performed by rerunning the two commands listed in step 1.
{{< /note >}}
## Install with Chocolatey on Windows
If you are on Windows and using [Chocolatey](https://chocolatey.org) package manager, you can install kubectl with Chocolatey.