--- title: "Troubleshoot PV autoscaling" slug: "troubleshoot-pvs-autoscaling" updated: 2026-07-21T09:46:25Z published: 2026-07-21T09:46:25Z canonical: "docs.zesty.co/troubleshoot-pvs-autoscaling" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zesty.co/llms.txt > Use this file to discover all available pages before exploring further. # Troubleshoot PV autoscaling This topic describes how to use the Zesty Kubectl plugin to troubleshoot PV 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: **/zesty-k8s-logs-and-resources-.zip** To install Krew, see [Windows](https://krew.sigs.k8s.io/docs/user-guide/setup/install/) or [MacOS](https://formulae.brew.sh/formula/krew). 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 collect logs with the kubectl plugin: To collect logs for Customer Support use, run this command: `kubectl zesty logs collect`