Configuring persistent storage
When you configure persistent storage, your metrics are saved on a persistent volume (PV) and are not deleted when a pod is restarted or re-created.
Before you begin
- Read the documentation for OpenShift® Container Platform Prometheus persistent storage.
- Read the product documentation on the Prometheus website to learn about the recommended practices for configuring persistent storage.
About this task
Important:
- Replace
<storage_class>
with your storage class. user-workload-monitoring-config
is the retention period for user data on Prometheus storage.- For user-defined projects, you must configure the retention period of metrics to be at least 15 days.