LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kubectl-version

shows client and server versions

TLDR

Show versions
$ kubectl version
copy
Client version only
$ kubectl version --client
copy
Output as JSON
$ kubectl version -o json
copy
Output as YAML
$ kubectl version -o yaml
copy
Short format
$ kubectl version --short
copy

SYNOPSIS

kubectl version [options]

DESCRIPTION

kubectl version shows client and server versions. It displays the kubectl and Kubernetes API server versions.The command verifies version compatibility. Client and server should be within one minor version.

PARAMETERS

--client

Show client version only.
-o FORMAT
Output format (json, yaml).
--short
Short output format.
--help
Display help information.

INSTALL

sudo apt install kubectl
copy
sudo pacman -S kubectl
copy
sudo apk add kubectl
copy
brew install kubectl
copy
nix profile install nixpkgs#kubectl
copy

CAVEATS

Subcommand of kubectl. Server version needs cluster access. Version skew matters.

HISTORY

kubectl version provides version checking for Kubernetes compatibility verification.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid