OpenShift Metrics Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
==Installation Independent of the Main Procedure==
==Installation Independent of the Main Procedure==


==Installation Validation==
=Post-Installation=
 
==Configure Project Node Selector==
 
oc edit namespace openshift-infra
 
metadata:
  annotations:
    ...
    openshift.io/node-selector: '''<font color=teal>env=infra</font>'''
 
=Installation Validation=


  oc project openshift-infra
  oc project openshift-infra

Latest revision as of 10:29, 11 November 2017

Internal

Procedure

Installation During the Main Procedure

Metrics must be explicitly enabled during the advanced installation, as described here:

openshift_hosted_metrics_deploy

Installation Independent of the Main Procedure

Post-Installation

Configure Project Node Selector

oc edit namespace openshift-infra
metadata:
  annotations:
    ...
    openshift.io/node-selector: env=infra

Installation Validation

oc project openshift-infra
oc get pods
NAME                         READY     STATUS    RESTARTS   AGE
hawkular-cassandra-1-pgd97   1/1       Running   0          40m
hawkular-metrics-zl9n5       1/1       Running   0          40m
heapster-2ngln               1/1       Running   0          40m

https://hawkular-metrics.apps.openshift.novaordis.io/hawkular/metrics