Skip to content
Permalink
Browse files

Updates kubectl version command to use --client flag. (#18125)

  • Loading branch information
sharjeelaziz authored and k8s-ci-robot committed Jan 15, 2020
1 parent f4505fc commit 1b269add170fcae473bba4f42a52710a072cf956
Showing with 8 additions and 8 deletions.
  1. +8 −8 content/en/docs/tasks/tools/install-kubectl.md
@@ -52,7 +52,7 @@ You must use a kubectl version that is within one minor version difference of yo
4. Test to ensure the version you installed is up-to-date:

```
kubectl version
kubectl version --client
```

### Install using native package management
@@ -132,7 +132,7 @@ kubectl version
4. Test to ensure the version you installed is up-to-date:

```
kubectl version
kubectl version --client
```

### Install with Homebrew on macOS
@@ -153,7 +153,7 @@ If you are on macOS and using [Homebrew](https://brew.sh/) package manager, you
2. Test to ensure the version you installed is up-to-date:

```
kubectl version
kubectl version --client
```

### Install with Macports on macOS
@@ -170,7 +170,7 @@ If you are on macOS and using [Macports](https://macports.org/) package manager,
2. Test to ensure the version you installed is up-to-date:

```
kubectl version
kubectl version --client
```

## Install kubectl on Windows
@@ -191,7 +191,7 @@ If you are on macOS and using [Macports](https://macports.org/) package manager,
3. Test to ensure the version of `kubectl` is the same as downloaded:

```
kubectl version
kubectl version --client
```
{{< note >}}
[Docker Desktop for Windows](https://docs.docker.com/docker-for-windows/#kubernetes) adds its own version of `kubectl` to PATH.
@@ -216,7 +216,7 @@ If you are on Windows and using [Powershell Gallery](https://www.powershellgalle
2. Test to ensure the version you installed is up-to-date:

```
kubectl version
kubectl version --client
```

{{< note >}}Updating the installation is performed by rerunning the two commands listed in step 1.{{< /note >}}
@@ -239,7 +239,7 @@ To install kubectl on Windows you can use either [Chocolatey](https://chocolatey
2. Test to ensure the version you installed is up-to-date:

```
kubectl version
kubectl version --client
```

3. Navigate to your home directory:
@@ -281,7 +281,7 @@ You can install kubectl as part of the Google Cloud SDK.
3. Test to ensure the version you installed is up-to-date:

```
kubectl version
kubectl version --client
```

## Verifying kubectl configuration

1 comment on commit 1b269ad

@neoneno

This comment has been minimized.

Copy link

neoneno commented on 1b269ad Jan 24, 2020

wow

Please sign in to comment.
You can’t perform that action at this time.