fabric8 maven deploy to openshift online

11/13/2019

I am trying to deploy spring-boot application to openshift online (free trial). The fabric8 maven deploy commands gets executed successfully, but openshift pods events is showing error as below

Unknown desc = Error reading manifest snapshot-191111-130340-0466 in docker.io/example/springboot-demo: errors: denied: requested access to the resource is denied unauthorized: authentication require

below is the success build logs for fabric8 deploy

[INFO] Using project: aaz
[INFO] Updating a Service from kubernetes.yml
[INFO] Updated Service: \target\fabric8\applyJson\aaz\service-springboot-demo.json
[INFO] Using project: aaz
[INFO] Updating Deployment from kubernetes.yml
[INFO] Updated Deployment: \target\fabric8\applyJson\aaz\deployment-springboot-demo.json
[INFO] F8: HINT: Use the command `kubectl get pods -w` to watch your pods start up
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

In the event logs it seems that it is trying to pull images from docker.io registry, but not able to authenticate.

Appreciate any pointers on above issue.

-- Rajeev
kubernetes
maven
openshift
openshift-online

0 Answers