This topic describes how to use the Zesty Kubectl plugin to troubleshoot Storage Autoscaling.
You can use the plugin to generate a log file that may be required for support.
A compressed log file will be created under the path: <tmp folder>/zesty-k8s-logs-and-resources-<date>.zip
To install Krew, see Windows or MacOS.
To use the plugin, you need to install it first.
Prerequisites
Kubectl is installed
To install the Zesty Kubectl plugin:
Add the Zesty repository to Krew index:
kubectl krew index add zestyIndex https://github.com/zesty-co/kubectl-plugin.gitVerify the repo was added successfully:
kubectl krew index listInstall the plugin:
kubectl krew install zestyIndex/zestyVerify that the plugin was installed successfully:
kubectl krew listValidate the Kubectl context:
kubectl config current-contextThe current cluster’s name will be displayed.
To collect logs with the kubectl plugin:
To collect logs for Customer Support use, run this command:kubectl zesty logs collect