Configure OpenShift Builds and Deployments to Use Registry Route or Service Hostname
Issue
- How do I use the docker-registry deployment's service name, like
docker-registry.default.svc.cluster.local, or the route name for an exposed registry, in the image field of deployment configurations, builds, etc
0s 0s 1 {kubelet app002-ose101.datadyne.example.com} spec.containers{webapp} Warning Failed Failed to pull image "docker-registry.default.svc.cluster.local:5000/datadyne/webapp:1.0.0": image pull failed for docker-registry.default.svc.cluster.local:5000/datadyne/webapp:1.0.0, this may be because there are no credentials on this request. details: (unauthorized: authentication required)
0s 0s 1 {kubelet app002-ose101.datadyne.example.com} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "webapp" with ErrImagePull: "image pull failed for docker-registry.default.svc.cluster.local:5000/datadyne/webapp:1.0.0, this may be because there are no credentials on this request. details: (unauthorized: authentication required)"
Environment
- Red Hat OpenShift Container Platform
- 3.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
