We do not have a mechanism to express what you want to express, then.
You control the cluster suffix and the subdomain, and the pod name,
but even with all of those in play, the hostname comes out as
`<pod>.<subdomain>.svc.<suffix>`, I am pretty sure.  I am open to
proposals on how to allow what you want.

On Tue, Sep 5, 2017 at 3:16 PM, David Rosenstrauch <dar...@darose.net> wrote:
> On 2017-09-05 5:04 pm, Brandon Philips wrote:
>>
>> That won't do what he wants, I don't think.
>>
>> $ kubectl run -i -t busybox --image=busybox --restart=Never -n
>> team-tectonic --overrides='{ "apiVersion": "v1", "spec": {"hostname":
>> "hello", "subdomain": "example"}}'
>> If you don't see a command prompt, try pressing enter.
>> / # hostname -f
>> hello.example.team-tectonic.svc.cluster.local
>> / #
>>
>> Essentially he wants hostname and subdomain to combine and set the
>> FQDN. Not just the start of the FQDN. E.g. hello.example
>>
>> Brandon
>
>
>
> What I'm looking to see from "hostname -f" is actually more like this:
>
> <some-pod-name>.<ourdomain>.com
>
> If the fqdn ends with "cluster.local", the license check will fail.
>
> It doesn't look like that can be achieved from what you're describing here,
> since the subdomain ("example") appears in the middle of the FQDN, rather
> than as the suffix.
>
>
> 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.

Reply via email to