Updated files install-kubectl-linux.md , install-kubectl-macos.md , install-kubectl-windows.md (#31916)
* updated install-kubectl-windows.md * Updated install-kubectl-windows.md * Update install-kubectl-linux.md * Update install-kubectl-macos.md
This commit is contained in:
@@ -95,6 +95,11 @@ For example, to download version {{< param "fullversion" >}} on Linux, type:
|
|||||||
```bash
|
```bash
|
||||||
kubectl version --client
|
kubectl version --client
|
||||||
```
|
```
|
||||||
|
Or use this for detailed view of version:
|
||||||
|
|
||||||
|
```cmd
|
||||||
|
kubectl version --client --output=yaml
|
||||||
|
```
|
||||||
|
|
||||||
### Install using native package management
|
### Install using native package management
|
||||||
|
|
||||||
|
|||||||
@@ -111,6 +111,11 @@ The following methods exist for installing kubectl on macOS:
|
|||||||
```bash
|
```bash
|
||||||
kubectl version --client
|
kubectl version --client
|
||||||
```
|
```
|
||||||
|
Or use this for detailed view of version:
|
||||||
|
|
||||||
|
```cmd
|
||||||
|
kubectl version --client --output=yaml
|
||||||
|
```
|
||||||
|
|
||||||
### Install with Homebrew on macOS
|
### Install with Homebrew on macOS
|
||||||
|
|
||||||
|
|||||||
@@ -66,6 +66,11 @@ The following methods exist for installing kubectl on Windows:
|
|||||||
```cmd
|
```cmd
|
||||||
kubectl version --client
|
kubectl version --client
|
||||||
```
|
```
|
||||||
|
Or use this for detailed view of version:
|
||||||
|
|
||||||
|
```cmd
|
||||||
|
kubectl version --client --output=yaml
|
||||||
|
```
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
[Docker Desktop for Windows](https://docs.docker.com/docker-for-windows/#kubernetes) adds its own version of `kubectl` to `PATH`.
|
[Docker Desktop for Windows](https://docs.docker.com/docker-for-windows/#kubernetes) adds its own version of `kubectl` to `PATH`.
|
||||||
|
|||||||
Reference in New Issue
Block a user