Skip to content
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

Override hostname on kubelet #124

Merged
merged 2 commits into from
May 13, 2020
Merged

Override hostname on kubelet #124

merged 2 commits into from
May 13, 2020

Conversation

alkar
Copy link
Contributor

@alkar alkar commented May 12, 2020

kubelet gets the hostname from the system which on coreos does not
include the domain name (it's the short hostname and not the FQDN). This
causes the kubernetes.io/hostname label to mismatch the node name and
is problematic when using Service Topology and potentially other
features that use this label.

kubelet gets the hostname from the system which on coreos does not
include the domain name (it's the short hostname and not the FQDN). This
causes the `kubernetes.io/hostname` label to mismatch the node name and
is problematic when using Service Topology and potentially other
features that use this label.

Signed-off-by: Dimitrios Karagiannis <dhkarag@gmail.com>
Restarting the service will continuously append to the file

Signed-off-by: Dimitrios Karagiannis <dhkarag@gmail.com>
@alkar alkar merged commit 6955c85 into master May 13, 2020
@alkar alkar deleted the kubelet-node-name branch May 13, 2020 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants