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
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