prometheus operator v0.93.1

PrometheusAgent.spec.containers[].env[].valueFrom.resourceFieldRef.spec.shardingStrategy.topology

topology defines the configuration for topology-aware sharding. This field is only valid when mode is set to 'Topology'.

2 fields
PrometheusAgent.spec.containers[].env[].valueFrom.resourceFieldRef.spec.shardingStrategy.topology fields and descriptions
Field / TypeDescription
externalLabelName
string

externalLabelName defines the name of the Prometheus external label used to communicate the topology zone assigned to the Prometheus instance. If not defined, it defaults to "zone". If set to the empty string, no external label is added to the Prometheus configuration.

string[]

values defines the list of topology values (e.g. zone names) to be used for sharding. The configured number of shards must be greater than or equal to the number of values.

  • x-kubernetes-list-type: "atomic"