Created
February 1, 2016 16:11
-
-
Save fatherlinux/5714509562fb7553f716 to your computer and use it in GitHub Desktop.
Install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| === Deploy Cluster Metrics === | |
| Instructions developed from the [https://docs.openshift.org/latest/install_config/cluster_metrics.html Origin Docs]. First enter the project. Then, create the metrics-deployer service account. Then, add the heapster account permissions. Then, set up secrets. | |
| oc new-project openshift-infra | |
| oc project openshift-infra | |
| oc create -f - <<API | |
| apiVersion: v1 | |
| kind: ServiceAccount | |
| metadata: | |
| name: metrics-deployer | |
| secrets: | |
| - name: metrics-deployer | |
| API | |
| oadm policy add-role-to-user edit system:serviceaccount:openshift-infra:metrics-deployer | |
| oadm policy add-cluster-role-to-user cluster-reader system:serviceaccount:openshift-infra:heapster | |
| oc secrets new metrics-deployer nothing=/dev/null | |
| Get the yaml file | |
| cd /root/ | |
| git clone https://github.com/fatherlinux/aep.git | |
| Add the following line to /etc/origin/master/master-config.yaml | |
| assetConfig: | |
| ... | |
| metricsPublicURL: https://aep-all.dc4.crunchtools.com/hawkular/metrics | |
| Deploy the deployer | |
| oc process -f /root/aep/config/metrics-deployer.yaml | oc create -f - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment