https://signoz.io logo
#support
Title
# support
s

Shravan Kgl

01/24/2023, 10:33 AM
How to blacklist pods without suffix ex when we deploy a pod signoz, it will have suffix like signoz-0 for stateful and signoz-5b6cb64975-lbqrk for state less stateful will get name signoz-1, signoz-2 upon scaling stateless will change names upon scaling or upgrade how balcklist all of them as below override is now working
Copy code
k8s-infra:
presets:
  logCollection:
    enabled: true
    blacklist:
      enabled: true
      pods:
        - signoz
p

Pranay

01/24/2023, 12:59 PM
@Prashant Shahi may have more insights here
p

Prashant Shahi

01/24/2023, 1:51 PM
@Shravan Kgl You should be able to include
*
under the pods blacklist rule.
Copy code
k8s-infra:
  presets:
    logCollection:
      enabled: true
      blacklist:
        enabled: true
        pods:
          - signoz-*
s

Shravan Kgl

01/24/2023, 4:56 PM
Thanks @Prashant Shahi Is there a way to have k8s-pod-name as only signoz without suffix
p

Prashant Shahi

01/24/2023, 5:08 PM
@Shravan Kgl K8s pod names are dictated by K8s conventions based on Deployment types. And it is out of scope of SigNoz.
2 Views