summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Castro <spinolacastro@gmail.com>2015-08-15 16:31:58 -0300
committerDiego Castro <spinolacastro@gmail.com>2015-08-15 16:31:58 -0300
commit8d323222e3334bb70a2c3ed6db74d0c47e13ee8f (patch)
tree8df4bcb01fb0937d59ba9f8e88ebbf45ee430665
parenta2e27c5925954ce04fca9c891099a6146a418222 (diff)
downloadopenshift-8d323222e3334bb70a2c3ed6db74d0c47e13ee8f.tar.gz
openshift-8d323222e3334bb70a2c3ed6db74d0c47e13ee8f.tar.bz2
openshift-8d323222e3334bb70a2c3ed6db74d0c47e13ee8f.tar.xz
openshift-8d323222e3334bb70a2c3ed6db74d0c47e13ee8f.zip
Add README and inventory example.
-rw-r--r--inventory/byo/hosts.example3
-rw-r--r--roles/openshift_cluster_metrics/README.md36
2 files changed, 39 insertions, 0 deletions
diff --git a/inventory/byo/hosts.example b/inventory/byo/hosts.example
index 629956d0e..864cd9dc6 100644
--- a/inventory/byo/hosts.example
+++ b/inventory/byo/hosts.example
@@ -20,6 +20,9 @@ ansible_ssh_user=root
# deployment type valid values are origin, online and enterprise
deployment_type=enterprise
+# Enable cluster metrics
+#use_cluster_metrics=true
+
# Pre-release registry URL
#oreg_url=docker-buildvm-rhose.usersys.redhat.com:5000/openshift3/ose-${component}:${version}
diff --git a/roles/openshift_cluster_metrics/README.md b/roles/openshift_cluster_metrics/README.md
new file mode 100644
index 000000000..9fdfab8e3
--- /dev/null
+++ b/roles/openshift_cluster_metrics/README.md
@@ -0,0 +1,36 @@
+#openshift_cluster_metrics
+
+This role configures Cluster wide metrics. It does setting up three services:
+* Metrics are stored in InfluxDB for querying.
+* Heapster reads all nodes and pods from the master, then connects to eachs node's kubelet to retrieve pod metrics.
+* Grafan allows users to create dashboards of metrics from InfluxDB
+
+## Requirements
+
+Running OpenShift cluster
+
+## Role Variables
+
+```
+# Enable cluster metrics
+use_cluster_metrics=true
+```
+
+## Dependencies
+
+None
+
+## Example Playbook
+
+TODO
+
+## Security Note
+Opening up the read-only port exposes information about the running pods (such as namespace, pod name, labels, etc.) to unauthenticated clients. The requirement to open up this read-only port will be fixed in future versions.
+
+##License
+
+Apache License, Version 2.0
+
+## Author Information
+
+Diego Castro (diego.castro@getupcloud.com)