summaryrefslogtreecommitdiffstats
path: root/roles/openshift_prometheus/README.md
diff options
context:
space:
mode:
authorJiri Mencak <jmencak@redhat.com>2017-10-23 13:38:09 +0200
committerJiri Mencak <jmencak@redhat.com>2017-12-12 19:42:55 +0100
commit0e7d9fe8d950c41e134b793ab861b29ae9d68f7b (patch)
treea5a2155233dbaa2b77cbac7377e2e4496a33046a /roles/openshift_prometheus/README.md
parentd00e5f4e224f281961c3f5975c27381f5e5d972d (diff)
downloadopenshift-0e7d9fe8d950c41e134b793ab861b29ae9d68f7b.tar.gz
openshift-0e7d9fe8d950c41e134b793ab861b29ae9d68f7b.tar.bz2
openshift-0e7d9fe8d950c41e134b793ab861b29ae9d68f7b.tar.xz
openshift-0e7d9fe8d950c41e134b793ab861b29ae9d68f7b.zip
Add support for storage classes to openshift_prometheus role.
Diffstat (limited to 'roles/openshift_prometheus/README.md')
-rw-r--r--roles/openshift_prometheus/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_prometheus/README.md b/roles/openshift_prometheus/README.md
index f1eca1da6..1ebeacabf 100644
--- a/roles/openshift_prometheus/README.md
+++ b/roles/openshift_prometheus/README.md
@@ -38,11 +38,13 @@ openshift_prometheus_args=['--storage.tsdb.retention=6h', '--storage.tsdb.min-bl
Each prometheus component (prometheus, alertmanager, alertbuffer) can set pv claim by setting corresponding role variable:
```
openshift_prometheus_<COMPONENT>_storage_type: <VALUE> (pvc, emptydir)
+openshift_prometheus_<COMPONENT>_storage_class: <VALUE>
openshift_prometheus_<COMPONENT>_pvc_(name|size|access_modes|pv_selector): <VALUE>
```
e.g
```
openshift_prometheus_storage_type: pvc
+openshift_prometheus_storage_class: glusterfs-storage
openshift_prometheus_alertmanager_pvc_name: alertmanager
openshift_prometheus_alertbuffer_pvc_size: 10G
openshift_prometheus_pvc_access_modes: [ReadWriteOnce]