Troubleshoot Zesty Disk for Kubernetes
  • 1 Minute to read
  • PDF

Troubleshoot Zesty Disk for Kubernetes

  • PDF

Article summary

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.

  1. Install the Zesty Kubectl plugin

    1. Add the Zesty repository to Krew index:

      kubectl krew index add zestyIndex https://github.com/zesty-co/kubectl-plugin.git

    2. Verify the repo was added successfully:

      kubectl krew index list

    3. Install the plugin:

      kubectl krew install zestyIndex/zesty

    4. Verify that the plugin was installed successfully:

      kubectl krew list

  2. Collect logs with the Zesty Disk Kubectl plugin:

    1. Validate the Kubectl context:

      kubectl config current-context

      The current cluster’s name will be displayed.

    2. 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


Was this article helpful?