In the case of Helm-only installs or KOTS installs where the Admin Console isn’t accessible, you may have the need to generate a support bundle from the CLI. You can use the following instructions to do so:
- Install the support bundle binary
curl -L https://github.com/replicatedhq/troubleshoot/releases/latest/download/support-bundle_linux_amd64.tar.gz | tar xzvf -
NOTE: Binaries for architectures other than linux_amd64
can be found here - Releases · replicatedhq/troubleshoot · GitHub
- Generate the support bundle
./support-bundle --load-cluster-specs https://raw.githubusercontent.com/replicatedhq/troubleshoot-specs/main/in-cluster/default.yaml
NOTE: The above command is to generate a bundle with in-cluster
information. If you need to generate a host collector bundle see - kURL: How can I generate a support bundle when my Kubernetes cluster is down