This is set via the `--cluster-domain` flag on the kubelet, as well as in the kubedns deployment.
/MR On Tue, Sep 5, 2017 at 10:17 PM David Rosenstrauch <dar...@darose.net> wrote: > On 2017-09-05 5:39 pm, Matthias Rampke wrote: > > If it's checking the domain suffix, everything should work if you set > > the cluster domain to a subdomain of yours instead of cluster.local > > – then the name will be of the form > > <pod>.<namespace>.pod.<subdomain>.<domain>, no? We use this in all our > > clusters, but we make a custom distribution, so how to do this will > > depend on how you build the cluster(s). > > > > Or, dirty but simple, can you manipulate the pod hostname and domain > > from inside the pod? Call `hostname` and mess with /etc/hosts? > > > > /MR > > > That sounds like more along the lines of what I want. How do I go about > setting the cluster domain then? > > Thanks, > > DR > > -- > 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. > -- 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.