troubleshoot
troubleshoot copied to clipboard
Support bundle takes a long time to collect cluster resources even when it has no access to most resources
Description
$ cat sb.yaml
apiVersion: troubleshoot.sh/v1beta2
kind: SupportBundle
metadata:
name: example-support-bundle
spec:
collectors:
- clusterInfo: {}
- clusterResources: {}
$ time kubectl support-bundle sb.yaml
Collecting support bundle ⠹ cluster-resourcessupport-bundle-2022-06-13T16_25_39.tar.gz
real 2m46.161s
user 0m5.102s
sys 0m2.070s