# Exclude some resources from being collected by clusterResources collector

**URL:** <https://community.replicated.com/t/exclude-some-resources-from-being-collected-by-clusterresources-collector/1569>\
**Category:** How do I?\
**Tags:** support-bundle\
**Created:** [August 12, 2025, 9:42am UTC](https://community.replicated.com/t/exclude-some-resources-from-being-collected-by-clusterresources-collector/1569 "2025-08-12T09:42:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krispybytes](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/krispybytes/32/833_2.png) [@krispybytes](https://community.replicated.com/u/krispybytes)\
**Post date:** [August 12, 2025, 9:42am UTC](https://community.replicated.com/t/exclude-some-resources-from-being-collected-by-clusterresources-collector/1569/1 "2025-08-12T09:42:20Z")

</div>

How do I create a support bundle but exclude some resources such as ConfigMaps being collected by the **`clusterResources`** collector. I would like to restrict the resources collected to very specific Kinds.

---

<div class="post-metadata">

**Author:** ![GerardNguyen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/gerardnguyen/32/828_2.png) [@GerardNguyen](https://community.replicated.com/u/GerardNguyen)\
**Post date:** [August 12, 2025, 10:25pm UTC](https://community.replicated.com/t/exclude-some-resources-from-being-collected-by-clusterresources-collector/1569/2 "2025-08-12T22:25:01Z")

</div>

Hi @krispybytes,

As of current version **[v0.121.2](https://github.com/replicatedhq/troubleshoot/releases/tag/v0.121.2)**, it is not possible to exclude some resources such as ConfigMap from `clusterResources` collector.

The `clusterResources` collector is designed to collect all known types that are deployed to the cluster but `Secret`.

Your options now are:

- use `.exclude` to exclude the `clusterResources`
- use `.namespaces` to list namespaces from which the resources and information will be collected
- there is default Redact rule but you can also write custom [redactors](https://troubleshoot.sh/docs/redact/) to filter unwanted data in the ConfigMap

I hope this helps.

Gerard

---

<div class="post-metadata">

**Author:** ![krispybytes](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/krispybytes/32/833_2.png) [@krispybytes](https://community.replicated.com/u/krispybytes)\
**Post date:** [August 13, 2025, 8:22am UTC](https://community.replicated.com/t/exclude-some-resources-from-being-collected-by-clusterresources-collector/1569/3 "2025-08-13T08:22:51Z")

</div>

Hi @GerardNguyen ,

Thank you for your reply. The information provided does help.

I will explore the options you have listed above.
