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
This commit is contained in:
Damien Duportal
2018-09-20 19:43:53 +02:00
committed by k8s-ci-robot
parent f20ce9df64
commit c22f068daa
+11 -8
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. 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: 1. Run the installation commands (making sure to specify a `DownloadLocation`):
* Run the installation commands (making sure to specify a DownloadLocation):
``` ```
Install-Script -Name install-kubectl -Scope CurrentUser -Force Install-Script -Name install-kubectl -Scope CurrentUser -Force
@@ -108,17 +107,21 @@ To install:
``` ```
{{< note >}} {{< 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 >}} {{< /note >}}
The installer creates $HOME/.kube and instructs it to create a config file
To update: The installer creates `$HOME/.kube` and instructs it to create a config file
* Run the update commands:
2. Test to ensure the version you installed is sufficiently up-to-date:
``` ```
re-run Install-Script to update the installer kubectl version
re-run install-kubectl.ps1 to install latest binaries
``` ```
{{< note >}}
**Note:** Updating the installation is performed by rerunning the two commands listed in step 1.
{{< /note >}}
## Install with Chocolatey on Windows ## Install with Chocolatey on Windows
If you are on Windows and using [Chocolatey](https://chocolatey.org) package manager, you can install kubectl with Chocolatey. If you are on Windows and using [Chocolatey](https://chocolatey.org) package manager, you can install kubectl with Chocolatey.