prometheus operator v0.93.1

ScrapeConfig.spec.kubernetesSDConfigs[].tlsConfig.cert.configMap.spec.fileSDConfigs

fileSDConfigs defines a list of file service discovery configurations.

2 fields
ScrapeConfig.spec.kubernetesSDConfigs[].tlsConfig.cert.configMap.spec.fileSDConfigs fields and descriptions
Field / TypeDescription
string[] required

files defines the list of files to be used for file discovery. Recommendation: use absolute paths. While relative paths work, the prometheus-operator project makes no guarantees about the working directory where the configuration file is stored. Files must be mounted using Prometheus.ConfigMaps or Prometheus.Secrets.

  • minItems: 1
  • x-kubernetes-list-type: "set"
refreshInterval
string

refreshInterval defines the time after which the provided names are refreshed. If not set, Prometheus uses its default value.

  • pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$