Reputation: 85
Openshift by default will look at docker.io/openshift for its images. In our scenario the openshift cluster does not have access to internet. When I try to start any POD , it tries to request the pause container from docker.io. How to override this config and have it look at local registry instead ?
This is similar to below - but I could not find any way to pass this to openshift origin.
Kubernetes offline installation - pause container
Upvotes: 1
Views: 1489
Reputation: 30801
You're also able to define this in your ansible playbook (when using the advanced installation).
[OSEv3:vars]
ansible_ssh_user=root
deployment_type=origin
oreg_url=**your.local.registry**/openshift/origin-${component}:${version}
...
Upvotes: 1
Reputation: 85
Update the master-config.yaml and node-config.yaml and restart cluster. It will then pull from local registry
imageConfig:
format: **your.local.registry**/openshift/origin-${component}:${version} latest: false
Upvotes: 0