CLI tools to manage your kubeconfig file
There are several installation options:
- As Homebrew or Linuxbrew package
- Manual installation
After installing, the tool will be available as kube
.
You can install with Homebrew for macOS or LinuxBrew for Linux
brew install funkolab/tap/kube
Keep up-to-date with brew upgrade kube
(or brew upgrade
to upgrade everything)
- Download your corresponding release
- Install the binary somewhere in your PATH (
/usr/local/bin
for example) - use it with
kube
MacOS X notes for security error
Depending on your OS settings, when installing the binary manually you must run the following command:
xattr -r -d com.apple.quarantine /usr/local/bin/kube
TODO
kube is currently using go v1.17 or above. In order to build kube from source you must:
-
Clone the repo
-
Build and run the executable
make build && make install