Unable to deploy metrics deployer on Openshift.
Environment
- Openshift Enterprise
- 3.x
Issue
- When trying to enable cluster metrics in Openshift Enterprise v3.1. using Content from docs.openshift.org is not included.documentation it fails as below :
Failed to pull image "hawkular/metrics-deployer:0.7.0-SNAPSHOT": Error: image hawkular/metrics-deployer:0.7.0-SNAPSHOT not found
Back-off pulling image "hawkular/metrics-deployer:0.7.0-SNAPSHOT" (66 times in the last 11 minutes, 50 seconds)
- The command to deploy is as below :
oc process -f metrics.yaml -v HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.x.y | oc create -f -
Resolution
- Use the command below to enable the hawkular metrics :
oc process -f metrics.yaml -v \
HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.x.y,USE_PERSISTENT_STORAGE=false,IMAGE_PREFIX=openshift3/,IMAGE_VERSION=latest \
| oc create -f -
SBR
Product(s)
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.