Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.2 KB

monitoring-enabling-dynamically-provisioned-storage.adoc

File metadata and controls

27 lines (20 loc) · 1.2 KB

Enabling dynamically-provisioned storage

Instead of statically-provisioned storage, you can use dynamically-provisioned storage.

Procedure
  1. To enable dynamic storage for Prometheus and Alertmanager, set the following parameters to true in the Ansible inventory file:

    • openshift_cluster_monitoring_operator_prometheus_storage_enabled (Default: false)

    • openshift_cluster_monitoring_operator_alertmanager_storage_enabled (Default: false)

  2. Optional: After you enable dynamic storage, you can also set the storageclass for the persistent volume claim for each component in the following parameters in the Ansible inventory file:

    • openshift_cluster_monitoring_operator_prometheus_storage_class_name (default: "")

    • openshift_cluster_monitoring_operator_alertmanager_storage_class_name (default: "")

      Each of these variables applies only if its corresponding storage_enabled variable is set to true.

Additional resources