Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2596

[AMQ7] StatefulSet can't resolve image reference without local look-up policy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • AMQ71 1.0.0.GA
    • AMQ71 1.0.0.GA
    • AMQ7
    • None
    • CLOUD Maintenance Sprint 19

      When I try to deploy from template `amq-broker-71-statefulset-clustered`.

      There's an error in events:

      Failed to pull image "amq-broker-71-openshift:1.0": rpc error: code = Unknown desc = repository docker.io/amq-broker-71-openshift not found: does not exist or no pull access
      

      From OpenShift docs there's example how to use IS with Kubernetes resources.
      https://docs.openshift.com/container-platform/3.9/dev_guide/managing_images.html#using-is-with-k8s

      For me only setting the policy is sufficient, even without aplha annotation of StatefulSet itself.

      oc set image-lookup amq-broker-71-openshift
      

              buschv Vanessa Busch
              dsimansk@redhat.com David Simansky
              Petr Nehyba Petr Nehyba (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: