Skip to content

Support configurable PodMonitor labels #647

@jessebot

Description

@jessebot

Hoi CNPG team!

Could I request that you support adding labels to the PodMonitor in the cluster chart? My company only scrapes podMonitors that have a label for the team that deployed them, so right now, I can't get the podmonitor metrics if I use the one in this chart.

Something like this in the cluster chart's values.yaml would be great:

cluster:
  monitoring:
    enabled: true
    podMonitor:
      enabled: true
      labels: {}

so that users can then do this:

cluster:
  monitoring:
    enabled: true
    podMonitor:
      enabled: true
      labels:
        team-name: team-we-love-cnpg

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions