The main rationale for not allowing dots was to stay compatible with docker links env vars and to simplify DNS. Honestly, I forget the reason for the shorter limit, but there was a reason (on mobile so archaeology is hard).
We have an open issue to consider expanding the length to the more common 63 characters. I don't think there has been any consideration to allowing dots - it will make DNS a little weird, but it might be OK to allow it as a user choice.
--
You received this message because you are subscribed to the Google Groups "kubernetes-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-de...@googlegroups.com.
To post to this group, send email to kuberne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/3b90278f-46fe-426e-aa9b-2bc87ee8986e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/CAH16ShLrhnbKi9jaiTOKrGBBN9%3D_R8brbx3Pcz1wO67wh0nghg%40mail.gmail.com.
a few of the downsides to allowing dots in service names would be:
- it would make dns lookups more ambiguous
- it would mean we could never also have dots in namespaces (or dns lookups would be completely ambiguous)
- it makes it impossible to have a single wildcard cert secure all services in a single namespace (certs can only wildcard a single subdomain)
On Wed, Feb 17, 2016 at 4:20 PM, Clayton Coleman wrote:
I would prefer not to enable dots unless they really enable an awesome
use case. Sometime limitations help.
On Wed, Feb 17, 2016 at 11:23 AM, 'Tim Hockin' via kubernetes-dev
--
You received this message because you are subscribed to the Google Groups "kubernetes-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-de...@googlegroups.com.
To post to this group, send email to kuberne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/f1b0a17e-9708-4594-9e33-b94e860fb06d%40googlegroups.com.
Could we do config validation on this?
--
You received this message because you are subscribed to the Google Groups "kubernetes-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-de...@googlegroups.com.
To post to this group, send email to kuberne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/fd83b862-2864-41c4-9631-62e20665682a%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "kubernetes-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-de...@googlegroups.com.
To post to this group, send email to kuberne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/fd83b862-2864-41c4-9631-62e20665682a%40googlegroups.com.