Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

cjcullen
Copy link
Member

@cjcullen cjcullen commented Jun 9, 2015

Refactor GetNodeHostIP into pkg/util/node (instead of pkg/util to break import cycle).

Include internalIP in gce NodeAddresses (instead of NodeLegacyHostIP).

This addresses #2462 but leaves in support for using NodeLegacyHostIP (if nothing else is there). This doesn't solve the entire problem of needing to present different addresses in different places, but it at least stops using the node's name as an address.

Refactor GetNodeHostIP into pkg/util/node (instead of pkg/util to break import cycle).

Include internalIP in gce NodeAddresses.
@cjcullen
Copy link
Member Author

cjcullen commented Jun 9, 2015

@k8s-bot
Copy link

k8s-bot commented Jun 9, 2015

EXPERIMENTAL JENKINS PR BUILDER: e2e build succeeded.

@roberthbailey roberthbailey added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 9, 2015
@roberthbailey
Copy link
Contributor

LGTM.

krousey added a commit that referenced this pull request Jun 9, 2015
Use Node IP Address instead of Node.Name in minion.ResourceLocation.
@krousey krousey merged commit f62a2a1 into kubernetes:master Jun 9, 2015
justinsb added a commit to justinsb/kubernetes that referenced this pull request Sep 29, 2016
Most of our communications from apiserver -> nodes used
nodutil.GetNodeHostIP, but a few places didn't - and this
meant that the node name needed to be resolvable _and_ we needed
to populate valid IP addresses.

Fix the last few places that used the NodeName.

Issue kubernetes#18525
Issue kubernetes#9451
Issue kubernetes#9728
Issue kubernetes#17643
Issue kubernetes#11543
Issue kubernetes#22063
Issue kubernetes#2462
Issue kubernetes#22109
Issue kubernetes#22770
Issue kubernetes#32286
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants