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

Troubleshoot Zesty Disk for Kubernetes

  • PDF

Article summary

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:

  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

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


Was this article helpful?