As Matthias said, you can use the --cluster-domain if you want to. That is
usually set at installation.

That may be the simplest thing, and maybe fits better in your organization
using your domain for the cluster.

But if the license check is doing that, I bet that you can use LD_PRELOAD
to hack it, and use strace to see what calls it's really using.

On Wednesday, September 6, 2017, David Rosenstrauch <dar...@darose.net>
wrote:

> I believe I tried that.  IIRC, that does successfully result in dns
> lookups returning fqdn's containing our domain suffix.
>
> But what I'm trying to accomplish isn't DNS-based.  Rather, I'm trying to
> make "hostname -f" in a pod return a fqdn that contains our domain suffix.
> IIUC, "hostname -f" gets its information from the /etc/hostname file.  So I
> think what that means is that what I actually want to happen is to make k8s
> create a /etc/hostname file inside of each pod that contains fqdn.  Not
> sure how to do that.  (Or if it's even possible.)
>
> Thanks,
>
> DR
>
> On 2017-09-06 6:17 am, Matthias Rampke wrote:
>
>> 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:
>>
>
> 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.
  • [kubernetes-users]... David Rosenstrauch
    • Re: [kubernet... 'Tim Hockin' via Kubernetes user discussion and Q&A
      • Re: [kube... Brandon Philips
        • Re: [... Matthias Rampke
          • R... David Rosenstrauch
            • ... Matthias Rampke
              • ... David Rosenstrauch
                • ... Rodrigo Campos
        • Re: [... 'Tim Hockin' via Kubernetes user discussion and Q&A
        • Re: [... David Rosenstrauch
          • R... 'Tim Hockin' via Kubernetes user discussion and Q&A
            • ... David Rosenstrauch
            • ... David Rosenstrauch
              • ... Matthias Rampke
                • ... David Rosenstrauch
                • ... David Rosenstrauch
                • ... 'Tim Hockin' via Kubernetes user discussion and Q&A
                • ... darose

Reply via email to