K - Kubectl Version Manager
Overview
K is used to manage kubectl version, if you need to control k8s across large versions(v1.18 and v1.23), then this is the right tool for you.
Getting Started
manual
go install github.com/zaunist/k@latest
auto
curl -sSL https://raw.githubusercontent.com/zaunist/k/main/install.sh | bash
Usage
K is used to manage kubectl version.
Usage:
k [command]
Available Commands:
clean Remove files from the package download directory
help Help about any command
install Download and install a version
ls List installed versions
uninstall Uninstall a version of kubectl
use Switch to specified version
version Print the current version
Flags:
-h, --help help for k
Use "k [command] --help" for more information about a command.
example
k install v1.23.0 // install v1.23.0 version
k use v1.22.0 // switch kubectl version to v1.22.0
k ls // list all installed version on your system
Reference
The project is inspired by g - Golang version manager