I’ve recently gone through setting up an OpenShift registry and adding its IP to the NO_PROXY environment variable for Docker. (See https://docs.openshift.org/latest/install_config/http_proxies.html). I noticed most builds (in the log files) reference the registry by IP and port like 172.30.126.115:5000. I was wondering if it is possible to have builds and other components refer to the registry through the service DNS name such as docker-registry.default.svc.cluster.local instead of by its IP address. I’m guessing I’d need to add the master’s IP address to /etc/resolv.conf since Sky DNS doesn’t appear to run on the nodes (port 53 doesn’t appear to be bound).
Another question that came up is what nodes are build pods be scheduled to run on? Is there a way to restrict build and or deploy pods to a subset of nodes via a selector? Thanks, Brandon Richins
_______________________________________________ dev mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
