OpenShift Metrics Installation

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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