On Mon, Sep 26, 2016 at 4:00 PM, Roberto
<cloud.environme...@qualifacts.com> wrote:
> Hi, we have an issue in kubernetes and we really appreciate if you can help
> us. If I'm in the wrong section, please let me know.
>
> We have a kubernetes cluster deployed in GCE. We have created a VPN to our
> internal network and it's working ok. Now, we want that all the pods can use
> a custom dns (an internal one connected through VPN) but it's not working.
> We don't want to add the dns server manually in /etc/hosts in each pod.
>
> We've reviewed that pods inherit dns from the host but it's not working.

What's not working?  The fact that it inherits or that this is not
what you want?

> There's a way to modify KubeDNS to add our nameserver?

You can add a --resolv-conf flag to kubelet, which points to a resolve
file from which to inherit, instead of /etc.  The problem (maybe) is
that you will now lose access to GCE-internal names, such as VMs and
"metadata".

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
  • [kubernetes-users]... Roberto
    • Re: [kubernet... 'Tim Hockin' via Kubernetes user discussion and Q&A
      • Re: [kube... Roberto
        • Re: [... Matthias Rampke
          • R... Cole Mickens
            • ... 'Tim Hockin' via Kubernetes user discussion and Q&A
              • ... Cloud Environments
                • ... 'Tim Hockin' via Kubernetes user discussion and Q&A

Reply via email to