Skip to content

Commit

Permalink
remove deprecated --short arg to kubectl version (#1765)
Browse files Browse the repository at this point in the history
As of Kubernetes 1.27, the `--short` arg to kubectl version is deprecated and
prints a warning. As of Kubernetes 1.28, using it results in an error.

Signed-off-by: William Morgan <[email protected]>
Co-authored-by: Flynn <[email protected]>
  • Loading branch information
wmorgan and kflynn committed May 7, 2024
1 parent e7bac77 commit 6de4a85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion linkerd.io/content/2-edge/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ more](https://kubernetes.io/docs/setup/).)
Validate your Kubernetes setup by running:

```bash
kubectl version --short
kubectl version
```

You should see output with both a `Client Version` and `Server Version`
Expand Down
2 changes: 1 addition & 1 deletion linkerd.io/content/2.15/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ more](https://kubernetes.io/docs/setup/).)
Validate your Kubernetes setup by running:

```bash
kubectl version --short
kubectl version
```

You should see output with both a `Client Version` and `Server Version`
Expand Down

0 comments on commit 6de4a85

Please sign in to comment.