How to blacklist pods without suffix ex when we de...
# support
s
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
@Prashant Shahi may have more insights here
p
@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
Thanks @Prashant Shahi Is there a way to have k8s-pod-name as only signoz without suffix
p
@Shravan Kgl K8s pod names are dictated by K8s conventions based on Deployment types. And it is out of scope of SigNoz.