-
Notifications
You must be signed in to change notification settings - Fork 298
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
Set InternalIP machine status.addresses #947
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale This is still pretty important from my perspective, in general we shouldn't label private addresses spaces as |
@andrewsykim - Agreed. As this is a breaking changing my thinking was to include this in the set of breaking changes of v1a4 |
It's only a breaking change if we stop setting ExternalIP. I don't think it would be a breaking change to start setting InternalIP now though? |
The interesting bit is that we don't have a way to distinguish between InternalIP and ExternalIP. Are you suggesting to set both ? |
If we can't distinguish between the two, we should set the type based on what is most common -- which from my understanding is InternalIP, since almost always a VM's machine IP is internal to a vCenter. In an ideal world we would just set InternalIP, but removing ExternalIP is a breaking change. My suggestion would be to set both InternalIP and ExternalIP for the remainder of v1alpha3 and remove ExternalIP starting v1alpha4. Or even better, set the type based on some well known heuristic like checking if the address is in one of the well-known private address spaces. |
that makes sense wrt timelines |
@yastij This still seems to be the case for Machine addresses, something that we should look into again? |
@srm09: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Any updates? I can implement it if thoughts about it are still the same |
Signed-off-by: Siarhei Rasiukevich <[email protected]>
Signed-off-by: Siarhei Rasiukevich <[email protected]>
Have no idea why provider always sets ExternalIP , this is incorrect behavior. |
/kind feature
Describe the solution you'd like
Almost always a VM will have an address internal to the datacenter. In the case where we don't know if an address is external or internal to the datacenter, we should assume it is internal and set the type as InternalIP. Today we always set it as an ExternalIP
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: