From c22f068daa1f4eec045f2115d52cffd1703f624e Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Thu, 20 Sep 2018 19:43:53 +0200 Subject: [PATCH] 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 --- .../en/docs/tasks/tools/install-kubectl.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/content/en/docs/tasks/tools/install-kubectl.md b/content/en/docs/tasks/tools/install-kubectl.md index 53d0d531195..434faf3b86c 100644 --- a/content/en/docs/tasks/tools/install-kubectl.md +++ b/content/en/docs/tasks/tools/install-kubectl.md @@ -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.