- 1 Minute to read
- Print
- PDF
Troubleshoot Zesty Disk for Kubernetes
- 1 Minute to read
- Print
- PDF
This topic describes how to use the Zesty Kubectl plugin to troubleshoot Zesty Disk for K8s.
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.git
Verify the repo was added successfully:
kubectl krew index list
Install the plugin:
kubectl krew install zestyIndex/zesty
Verify that the plugin was installed successfully:
kubectl krew list
Validate the Kubectl context:
kubectl config current-context
The current cluster’s name will be displayed.
To use the kubectl plugin:
To collect logs for Customer Support use, run this command:kubectl zesty logs collect