-
Notifications
You must be signed in to change notification settings - Fork 38.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include domain name or not in the static pod names #5936
Comments
How do you get the node name from hostname? The hostname spec is unclear On Wed, Mar 25, 2015 at 11:25 AM, Yu-Ju Hong notifications@github.com
|
Kubelet uses My question was more about whether we should grab the first token, or we should consider the possibility of nodes from different domains :) |
I think it's reasonable to assume (and document) that hostnames must be in I think that is sane.. On Wed, Mar 25, 2015 at 1:39 PM, Yu-Ju Hong notifications@github.com
|
This increases the readability of pods by avoiding long names. This fixes kubernetes#5936
This increases the readability of pods by avoiding long names. This fixes kubernetes#5936
Static pods (pods from file/http sources) are named as
podName-hostname
. Because hostname can include the domain name or not, the actual pod name varies.E.g.
fluentd-to-elasticsearch-e2e-test-jenkins-minion-4gnu
vsfluentd-to-elasticsearch-e2e-test-jenkins-minion-4gnu.c.kubernetes-jenkins.internal
Pod names are shorter and easier to read if we do not include the domain name. The downside is that we would not be able to handle nodes on different domains (would that be something we need to support)?
The text was updated successfully, but these errors were encountered: