We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaeff4b commit 3a6f85eCopy full SHA for 3a6f85e
group_vars/prometheus.yml
@@ -6,3 +6,6 @@ openondemand_address: "{{ hostvars[groups['openondemand'].0].api_address if 'ope
6
# Override group_var set in ansible-slurm-appliance all group - unless
7
# OOD is being deployed then there won't be an OOD group
8
prometheus_scrape_configs: "{{ prometheus_scrape_configs_default + (openondemand_scrape_configs if ( 'openondemand' in groups ) else [] ) }}"
9
+
10
+# Fix Prometheus storage retention size to 80% of state volume size
11
+prometheus_storage_retention_size: "{{ ( 0.8 * hostvars[groups['openstack']].state_volume_size ) | int ~ 'GB' }}"
0 commit comments