// Module included in the following assemblies: // // * monitoring/configuring-monitoring-stack.adoc [id="enabling-dynamically-provisioned-storage_{context}"] = Enabling dynamically-provisioned storage Instead of statically-provisioned storage, you can use dynamically-provisioned storage. .Procedure . 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) + . 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`. [role="_additional-resources"] .Additional resources * See https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/[Dynamic Volume Provisioning] for details.