Used to interact with Zesty's resources
Using krew (recommended)
-
Add this repo as a krew index
$ kubectl krew index add zestyIndex https://github.com/zesty-co/kubectl-plugin.git
-
Verify it was added successfully
$ kubectl krew index list INDEX URL default https://github.com/kubernetes-sigs/krew-index.git zestyIndex https://github.com/zesty-co/kubectl-plugin.git
-
Install the plugin:
$ kubectl krew install zestyIndex/zesty
-
Verify a successul installation:
$ kubectl krew list PLUGIN VERSION zestyIndex/zesty v1.0.0
kubectl krew uninstall zesty
Download the latest version from the releases page and unzip the executable to a directory which is accessable on PATH.
Run kubectl zesty --help
for availble functionality.
Note
If you are on MacOs or Linux and receiving the following error
error: unknown command "zesty" for "kubectl"
run the following command to make sure the plugin is executable:
chmod +x ~/.krew/store/zesty/*/kubectl-zesty
Added a command to collect persistent volumes' usage and utilization
Logs collection command:
- Improved volumeattachments' collection
Logs collection command:
- Added collection for Zesty's internal Mutator and Extender pods
Compatible with zesty-helm version 1.0.253 (new naming convention for internal Zesty resources)
Logs collection command:
- Bug fix: Displaying an error message and continuing to collect subsequent resource YML or log instead of exiting upon encountering an error.