Skip to content

Commit cd26a2b

Browse files
authored
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
1 parent 093f975 commit cd26a2b

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

content/en/docs/tasks/tools/install-kubectl-linux.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ For example, to download version {{< param "fullversion" >}} on Linux, type:
9595
```bash
9696
kubectl version --client
9797
```
98+
Or use this for detailed view of version:
99+
100+
```cmd
101+
kubectl version --client --output=yaml
102+
```
98103

99104
### Install using native package management
100105

content/en/docs/tasks/tools/install-kubectl-macos.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ The following methods exist for installing kubectl on macOS:
111111
```bash
112112
kubectl version --client
113113
```
114+
Or use this for detailed view of version:
115+
116+
```cmd
117+
kubectl version --client --output=yaml
118+
```
114119

115120
### Install with Homebrew on macOS
116121

content/en/docs/tasks/tools/install-kubectl-windows.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ The following methods exist for installing kubectl on Windows:
6666
```cmd
6767
kubectl version --client
6868
```
69+
Or use this for detailed view of version:
70+
71+
```cmd
72+
kubectl version --client --output=yaml
73+
```
6974

7075
{{< note >}}
7176
[Docker Desktop for Windows](https://docs.docker.com/docker-for-windows/#kubernetes) adds its own version of `kubectl` to `PATH`.

0 commit comments

Comments
 (0)