prometheus operator v0.93.1
Prometheus.spec.initContainers[].env.valueFrom.configMapKeyRef.spec.shardRetentionPolicy.retain
retain defines the config for retention when the retention policy is set to `Retain`. If not defined, the operator will use the retention duration configured for the Prometheus data. If the resource uses size-based retention, the shard(s) are kept forever (unless manually deleted).
| Field / Type | Description |
|---|---|
retentionPeriod | retentionPeriod defines how long the scaled-down shard(s) need to be kept before being deleted.
|