Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

create a demo showing how to configure DNS so that it uses the kubernetes DNS resolver to find services #81

Open
jstrachan opened this issue Feb 24, 2016 · 0 comments

Comments

@jstrachan
Copy link
Contributor

e.g. a sample app using a service called foo via a URL http://foo/ which we can then point /etc/resolv.conf at the OpenShift domain for the namespace of the app.

It looks like we could expose the LOCALDOMAIN environment variable to be $namespace.vagrant.f8 or something to hopefully get the process resolving DNS names within the Kubernetes namespace
http://man7.org/linux/man-pages/man5/resolv.conf.5.html

though this will require sshd configuration in the VM's to allow LOCALDOMAIN to be overloaded. See https://github.com/fabric8io/kansible#kansible_export_env_vars for more details

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant