summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-08-30 13:03:55 -0400
committerScott Dodson <sdodson@redhat.com>2016-08-30 13:05:54 -0400
commita8b3c58ecbcb5f64dabd44b8efadd4832527bc83 (patch)
tree2faf3e527fd42868247589ed515346ea4ae7a339 /roles/openshift_metrics/tasks
parentbe4e0f976f313b4a6401fdd13d8e782c51e44289 (diff)
downloadopenshift-a8b3c58ecbcb5f64dabd44b8efadd4832527bc83.tar.gz
openshift-a8b3c58ecbcb5f64dabd44b8efadd4832527bc83.tar.bz2
openshift-a8b3c58ecbcb5f64dabd44b8efadd4832527bc83.tar.xz
openshift-a8b3c58ecbcb5f64dabd44b8efadd4832527bc83.zip
Enable dynamic storage
Diffstat (limited to 'roles/openshift_metrics/tasks')
-rw-r--r--roles/openshift_metrics/tasks/install.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_metrics/tasks/install.yml b/roles/openshift_metrics/tasks/install.yml
index ea4f61ccd..cff4d1d4b 100644
--- a/roles/openshift_metrics/tasks/install.yml
+++ b/roles/openshift_metrics/tasks/install.yml
@@ -71,7 +71,7 @@
set_fact:
deployer_cmd: "{{ openshift.common.client_binary }} process -f \
{{ metrics_template_dir }}/metrics-deployer.yaml -v \
- HAWKULAR_METRICS_HOSTNAME={{ metrics_hostname }},USE_PERSISTENT_STORAGE={{metrics_persistence | string | lower }},METRIC_DURATION={{ openshift.hosted.metrics.duration }},METRIC_RESOLUTION={{ openshift.hosted.metrics.resolution }}{{ image_prefix }}{{ image_version }},MODE={{ deployment_mode }} \
+ HAWKULAR_METRICS_HOSTNAME={{ metrics_hostname }},USE_PERSISTENT_STORAGE={{metrics_persistence | string | lower }},DYNAMICALLY_PROVISION_STORAGE={{metrics_dynamic_vol | string | lower }},METRIC_DURATION={{ openshift.hosted.metrics.duration }},METRIC_RESOLUTION={{ openshift.hosted.metrics.resolution }}{{ image_prefix }}{{ image_version }},MODE={{ deployment_mode }} \
| {{ openshift.common.client_binary }} --namespace openshift-infra \
--config={{ openshift_metrics_kubeconfig }} \
create -o name -f -"