Skip to content

Conversation

@luxas
Copy link
Member

@luxas luxas commented Jul 6, 2017

Cherry pick of #48538 on release-1.7.

#48538: Add node-name flag to join phase

Added new flag to `kubeadm join`: --node-name, that lets you specify the name of the Node object that's gonna be created

Allow to specify a node-name instead of relaying in `os.Hostname()`
This is useful where kubelet use the name given by the cloud-provider to
register the node.

Partially fix: kubernetes/kubeadm#64
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: luxas

Associated issue: 48538

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 6, 2017
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 6, 2017
@luxas
Copy link
Member Author

luxas commented Jul 6, 2017

FYI @GheRivero, thanks!

PTAL @wojtek-t and @caesarxuchao
We expect one more change related to this one that lets the user specify --node-name on kubeadm init as well

@caesarxuchao caesarxuchao added cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. and removed do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. labels Jul 6, 2017
@caesarxuchao caesarxuchao added this to the v1.7 milestone Jul 6, 2017
@caesarxuchao
Copy link
Contributor

Missing lgtm ;)

@luxas luxas assigned jbeda and timothysc and unassigned krousey and lukemarsden Jul 7, 2017
@luxas
Copy link
Member Author

luxas commented Jul 12, 2017

closing in favor of #48791

@luxas luxas closed this Jul 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants