Unable to deploy metrics deployer on Openshift.

Solution Verified - Updated

Environment

  • Openshift Enterprise
    • 3.x

Issue

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
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.