Why do I get a wrong /etc/resolv.conf in the pods in an OpenShift HA environment ?
Issue
- Pods created in an HA environment, always have the first master IP injected in the /etc/resolv.conf file, so DNS queries are timedout.
- The IP should be configurable, because in our case, we don't have a IP resource in pacemaker, but an HAProxy frontend, so we need to specify that IP for the skydns service in the pods.
- I've searched in the docs and in the master-config.yaml file but couldn't find any clue about this.
Environment
- Openshift v3
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.
