-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Add details about cloud provider node name computation #8873
Add details about cloud provider node name computation #8873
Conversation
@kubernetes/sig-aws-misc @kubernetes/sig-gcp-pr-reviews @kubernetes/sig-openstack-pr-reviews @kubernetes/sig-azure-pr-reviews @kubernetes/cloud-provider-vsphere-maintainers @kubernetes/cloud-provider-openstack-maintainers |
Deploy preview for kubernetes-io-master-staging ready! Built with commit 325220b https://deploy-preview-8873--kubernetes-io-master-staging.netlify.com |
|
||
### Node Name | ||
|
||
The OpenStack cloud provider uses the instance name (as determined from OpenStack metadata) as the name of the Kubernetes Node object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
### Node Name | ||
|
||
The Azure cloud provider uses the hostname of the node (as determined by the kubelet or overridden with `--hostname-override`) as the name of the Kubernetes Node object. | ||
Note that the Kubernetes Node name must match the Azure VM name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Automatic merge from submit-queue (batch tested with PRs 63453, 64592, 64482, 64618, 64661). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Clarify --hostname-override and --cloud-provider interaction pairs with a PR to the website cloud provider page defining behavior for existing cloud providers: kubernetes/website#8873 xref kubernetes#64659 kubernetes#62600 kubernetes#61774 kubernetes#54482 ```release-note NONE ```
## Load Balancers | ||
### Node Name | ||
|
||
The AWS cloud provider uses the private DNS name of the AWS instance as the name of the Kubernetes Node object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@kubernetes/sig-docs-pr-reviews PTAL This was based on code audits and reflects current behavior. Would like to see this merged and can iterate/expand as needed if folks from the remaining cloud providers have post-merge feedback |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@liggitt 👍 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zacharysarah The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There is lots of confusion around how the following things interact to determine the name of a Kubernetes Node object:
this PR attempts to document the current state (what the kubelet does, what each cloud provider does, what the requirements of each cloud provider are on the Kubernetes Node name so other components can later find the instance via cloudprovider APIs, etc)
as providers allow more flexibility around this (efforts in progress, AWS, GCP, OpenStack), this documentation should be updated.
preview is at https://deploy-preview-8873--kubernetes-io-master-staging.netlify.com/docs/concepts/cluster-administration/cloud-providers/