Is it possible to make Kubernetes assign fully-qualified domain names to pods at launch? I know Docker supports this using the "-h" flag (e.g., "docker run -h host1234.ourdomain.com ...") but I don't see a corresponding way to trigger that functionality in containers launched by k8s.

We have a requirement for this, as we have piece of software for which we have a site license that we want to containerize. However the s/w does the site license verification by checking the domain suffix of the host it's running on. (I.e., using "hostname -f") So if we can't get our pods and services to use the domain name suffix, we won't be able to run the app inside a container.

I've searched a bit, but don't see a definitive solution to the issue. Any suggestions much appreciated!

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.
  • [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

Reply via email to