Add note about checking kubectl version
In "Test to ensure the version you installed is up-to-date:", the command "kubectl version --client" is given but on running it on my system it says "This version information is deprecated and will be replaced with the output from kubectl version --short". But kubectl --short also gives a warning. So I thought it would be best to update the docs to add a note to ignore this warning. Co-Authored-By: Tim Bannister <tim@scalefactory.com>pull/39431/head
parent
b3fad7d560
commit
6a05d3004e
|
@ -95,6 +95,16 @@ For example, to download version {{< param "fullversion" >}} on Linux, type:
|
|||
```bash
|
||||
kubectl version --client
|
||||
```
|
||||
{{< note >}}
|
||||
The above command will generate a warning:
|
||||
```
|
||||
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.
|
||||
```
|
||||
You can ignore this warning. You are only checking the version of `kubectl` that you
|
||||
have installed.
|
||||
|
||||
{{< /note >}}
|
||||
|
||||
Or use this for detailed view of version:
|
||||
|
||||
```cmd
|
||||
|
|
|
@ -116,6 +116,17 @@ The following methods exist for installing kubectl on macOS:
|
|||
```bash
|
||||
kubectl version --client
|
||||
```
|
||||
|
||||
{{< note >}}
|
||||
The above command will generate a warning:
|
||||
```
|
||||
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.
|
||||
```
|
||||
You can ignore this warning. You are only checking the version of `kubectl` that you
|
||||
have installed.
|
||||
|
||||
{{< /note >}}
|
||||
|
||||
Or use this for detailed view of version:
|
||||
|
||||
```cmd
|
||||
|
|
|
@ -66,6 +66,16 @@ The following methods exist for installing kubectl on Windows:
|
|||
```cmd
|
||||
kubectl version --client
|
||||
```
|
||||
{{< note >}}
|
||||
The above command will generate a warning:
|
||||
```
|
||||
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.
|
||||
```
|
||||
You can ignore this warning. You are only checking the version of `kubectl` that you
|
||||
have installed.
|
||||
|
||||
{{< /note >}}
|
||||
|
||||
Or use this for detailed view of version:
|
||||
|
||||
```cmd
|
||||
|
|
Loading…
Reference in New Issue