-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 default value of report-node-internal-ip-address as true. #2072
Conversation
Using default value of report-node-internal-ip-address as true can make sure the ingress can always return ADDRESS, this also keep backward compatibility with ingress 0.9.0.beta.12 and its previous releases.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gyliu513 Assign the PR to them by writing 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 OWNERS Files:
Approvers can indicate their approval by writing |
|
@gyliu513 we cannot change this default. If the user wants to use the internal IP it must be done explicitly |
Why not let the ingress itself to decide return internal or external ip? I think that we should keep default behavior as before: Using external ip as priority, but if no external ip, use internal ip. /cc @aledbf |
The ingress 0.9.0.beta-12 behavior is Using external ip as priority, but if no external ip, use internal ip. We can let end user configure |
Because internal IP only makes sense in minikube or baremetal where you already need to change the defaults like the use of nodePort |
But this changed the behavior since 0.9.0-beta.12, when I upgrade, I have to manually add this parameter, I think this is not good behavior for upgrade, comments? @aledbf |
Also I can see many customer using Kubernetes distribution in their own data center, and they usually do not have external ip, so that's why I want to set the default value as true. |
The version 0.9.0-beta.12 was released on Aug 30, 2017, and the change of the defaults was requested by other users having the same problem with the opposite case than you. |
I understand that but most of the users are using a cloud provider, not baremetal. As I said, if you are using Kubernetes in baremetal you already have to change lots of configurations, like get used to deal with nodePorts or using something like metallb. |
Thanks @aledbf , let me upgrade my ingress by setting the |
Using default value of report-node-internal-ip-address as true can
make sure the ingress can always return ADDRESS, this also keep
backward compatibility with ingress 0.9.0.beta.12 and its previous
releases.
/cc @aledbf
What this PR does / why we need it:
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer: