- 1 Minute to read
- Print
- PDF
Troubleshoot Zesty Disk for Kubernetes
- 1 Minute to read
- Print
- PDF
This topic describes the best-practice way to troubleshoot Zesty Disk for K8s.
Before contacting Customer Support for assistance, prepare log files from the different cluster components.
To collect all logs using one command, Zesty provides a Kubectl plugin, published in the GitHub repo https://github.com/zesty-co/kubectl-plugin
Collect logs of Zesty Disk for K8s
To use the supplied log collection plugin, ensure that Kubectl is installed.
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
Collect logs with the Zesty Disk Kubectl plugin:
Validate the Kubectl context:
kubectl config current-context
The current cluster’s name will be displayed.
Collect the logs:
kubectl zesty logs collect
A compressed log file is created under the path:
<tmp folder>/zesty-k8s-logs-and-resources-<date>.zip