Collecting Support Bundles

How to collect a support bundle

Before you can collect a support bundle, you need to have a client-only component available. Nothing needs to be installed in the cluster. The Troubleshoot client utility is packaged as a kubectl plugin, and can be installed using krew. For instructions on how to install krew, visit

If you have krew installed, the next step is to install the Troubleshoot plugin:

kubectl krew install troubleshoot
kubectl troubleshoot <uri/path>

Once it’s installed, you can test it by generating and downloading a sample support bundle:

kubectl troubleshoot

This will connect to the cluster defined in your local kubecontext, and collect some basic information about the cluster. After it’s finished, it will write a file named “support-bundle.tar.gz” to the current working directory.