From 093b78bf0093f9c1d77c07d0ab4376e6f6f6490f Mon Sep 17 00:00:00 2001 From: Tom Van Waardhuizen Date: Fri, 11 May 2018 13:06:27 -0700 Subject: [PATCH] Fix spacing so CLI samples render properly (#8370) #8273 --- .../en/docs/tasks/tools/install-kubectl.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/content/en/docs/tasks/tools/install-kubectl.md b/content/en/docs/tasks/tools/install-kubectl.md index aefb0c679b..ac31076809 100644 --- a/content/en/docs/tasks/tools/install-kubectl.md +++ b/content/en/docs/tasks/tools/install-kubectl.md @@ -52,7 +52,7 @@ kubectl is available as a [snap](https://snapcraft.io/) application. 1. If you are on Ubuntu or one of other Linux distributions that support [snap](https://snapcraft.io/docs/core/install) package manager, you can install with: - sudo snap install kubectl --classic + sudo snap install kubectl --classic 2. Run `kubectl version` to verify that the version you've installed is sufficiently up-to-date. @@ -60,7 +60,7 @@ kubectl is available as a [snap](https://snapcraft.io/) application. 1. If you are on macOS and using [Homebrew](https://brew.sh/) package manager, you can install with: - brew install kubectl + brew install kubectl 2. Run `kubectl version` to verify that the version you've installed is sufficiently up-to-date. @@ -68,8 +68,8 @@ kubectl is available as a [snap](https://snapcraft.io/) application. 1. If you are on Windows and using [Powershell Gallery](https://www.powershellgallery.com/) package manager, you can install and update with: - Install-Script -Name install-kubectl -Scope CurrentUser -Force - install-kubectl.ps1 [-DownloadLocation ] + Install-Script -Name install-kubectl -Scope CurrentUser -Force + install-kubectl.ps1 [-DownloadLocation ] If no Downloadlocation is specified, kubectl will be installed in users temp Directory 2. The installer creates $HOME/.kube and instructs it to create a config file @@ -81,15 +81,15 @@ re-run install-kubectl.ps1 to install latest binaries 1. If you are on Windows and using [Chocolatey](https://chocolatey.org) package manager, you can install with: - choco install kubernetes-cli + choco install kubernetes-cli 2. Run `kubectl version` to verify that the version you've installed is sufficiently up-to-date. 3. Configure kubectl to use a remote Kubernetes cluster: - cd C:\users\yourusername (Or wherever your %HOME% directory is) - mkdir .kube - cd .kube - New-Item config -type file + cd C:\users\yourusername (Or wherever your %HOME% directory is) + mkdir .kube + cd .kube + New-Item config -type file Edit the config file with a text editor of your choice, such as Notepad for example. @@ -100,7 +100,7 @@ kubectl can be installed as part of the Google Cloud SDK. 1. Install the [Google Cloud SDK](https://cloud.google.com/sdk/). 2. Run the following command to install `kubectl`: - gcloud components install kubectl + gcloud components install kubectl 3. Run `kubectl version` to verify that the version you've installed is sufficiently up-to-date.