Skip to content

[Feature]: clusterPolicy add configuration for servicemonitor scrapetimeout (dcgm exporter) #2129

@kogsox

Description

@kogsox

values:

  dcgmExporter:
    enabled: true
    serviceMonitor:
      enabled: true
      interval: 15s # interval cannot be smaller than __default__ timeout
  • if interval is set to a smaller value than the default timeout, we get this error
Image

Suggested solution:
Expose the optional parameter scrapeTimeout ref servicemonitor spec in the clusterPolicy CRD and propagate it when creating the servicemonitor. This will make it possible to override the default timeout value and have a shorter scraping interval if needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureissue/PR that proposes a new feature or functionalitylifecycle/frozenneeds-triageissue or PR has not been assigned a priority-px label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions