-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.sig/cliCategorizes an issue or PR as relevant to SIG CLI.Categorizes an issue or PR as relevant to SIG CLI.sig/docsCategorizes an issue or PR as relevant to SIG Docs.Categorizes an issue or PR as relevant to SIG Docs.
Description
What happened: $ kubectl version --short
error: unknown flag: --short
See 'kubectl version --help' for usage.
What you expected to happen: As per documentation https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#version, kubectl version --short command should return just the version number.
How to reproduce it (as minimally and precisely as possible):
Install Client Version: v1.28.4 Server Version: v1.28.1 and run 'kubectl version --short' command
Anything else we need to know?: NA
Environment:
- Kubernetes client and server versions (use
kubectl version
): Client Version: v1.28.4 Server Version: v1.28.1 - Cloud provider or hardware configuration: AWS
- OS (e.g:
cat /etc/os-release
): CentOS7.9 - Containerd latest
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.sig/cliCategorizes an issue or PR as relevant to SIG CLI.Categorizes an issue or PR as relevant to SIG CLI.sig/docsCategorizes an issue or PR as relevant to SIG Docs.Categorizes an issue or PR as relevant to SIG Docs.
Type
Projects
Status
Closed