prometheus operator v0.93.1

Prometheus.spec.shardRetentionPolicy.whenScaled

whenScaled defines the retention policy when the Prometheus shards are scaled down. * `Delete`, the operator will delete the pods from the scaled-down shard(s). * `Retain`, the operator will keep the pods from the scaled-down shard(s), so the data can still be queried. If not defined, the operator assumes the `Delete` value.

1 fields
Prometheus.spec.shardRetentionPolicy.whenScaled fields and descriptions
Field / TypeDescription
Prometheus.spec.shardRetentionPolicy.whenScaled
string

whenScaled defines the retention policy when the Prometheus shards are scaled down. * `Delete`, the operator will delete the pods from the scaled-down shard(s). * `Retain`, the operator will keep the pods from the scaled-down shard(s), so the data can still be queried. If not defined, the operator assumes the `Delete` value.

  • enum: ["Retain","Delete"]