{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/455","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/455/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/455/events","html_url":"https://github.com/GoogleCloudPlatform/heapster/issues/455","id":99172022,"number":455,"title":"Wrong NodeInternalIP","user":{"login":"wulonghui","id":5194128,"avatar_url":"https://avatars.githubusercontent.com/u/5194128?v=3","gravatar_id":"","url":"https://api.github.com/users/wulonghui","html_url":"https://github.com/wulonghui","followers_url":"https://api.github.com/users/wulonghui/followers","following_url":"https://api.github.com/users/wulonghui/following{/other_user}","gists_url":"https://api.github.com/users/wulonghui/gists{/gist_id}","starred_url":"https://api.github.com/users/wulonghui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wulonghui/subscriptions","organizations_url":"https://api.github.com/users/wulonghui/orgs","repos_url":"https://api.github.com/users/wulonghui/repos","events_url":"https://api.github.com/users/wulonghui/events{/privacy}","received_events_url":"https://api.github.com/users/wulonghui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-05T10:12:36Z","updated_at":"2015-08-05T10:12:36Z","closed_at":null,"body":"I run a Kubernetes without any cloud providers, and I run a the container:\r\n```\r\ndocker run kubernetes/heapster:v0.17.0 -v=5 --source=kubernetes:http://api-server?inClusterConfig=false&useServiceAccount=false\r\n```\r\n\r\nAnd the heapster get a wrong NodeInternalIP `218.85.65`\r\n\r\n```\r\nI0805 07:49:03.013146       1 kube.go:117] kube nodes found: &{Items:map[node2:{PublicIP:192.168.3.148 InternalIP:218.85.65.150 ExternalID:node2} \r\n```\r\n\r\nthe node info:\r\n```\r\n{\r\n  \"kind\": \"Node\",\r\n  \"apiVersion\": \"v1\",\r\n  \"metadata\": {\r\n    \"name\": \"node2\",\r\n    \"selfLink\": \"/api/v1/nodes/node2\",\r\n    \"uid\": \"2640f0a2-3b3a-11e5-973f-005056817c3e\",\r\n    \"resourceVersion\": \"2431\",\r\n    \"creationTimestamp\": \"2015-08-05T06:21:04Z\",\r\n    \"labels\": {\r\n      \"kubernetes.io/hostname\": \"node2\"\r\n    }\r\n  },\r\n  \"spec\": {\r\n    \"externalID\": \"node2\"\r\n  },\r\n  \"status\": {\r\n    \"capacity\": {\r\n      \"cpu\": \"1\",\r\n      \"memory\": \"1884812Ki\",\r\n      \"pods\": \"100\"\r\n    },\r\n    \"conditions\": [\r\n      {\r\n        \"type\": \"Ready\",\r\n        \"status\": \"True\",\r\n        \"lastHeartbeatTime\": \"2015-08-05T08:25:44Z\",\r\n        \"lastTransitionTime\": \"2015-08-05T06:35:05Z\",\r\n        \"reason\": \"kubelet is posting ready status\"\r\n      }\r\n    ],\r\n    \"addresses\": [\r\n      {\r\n        \"type\": \"LegacyHostIP\",\r\n        \"address\": \"192.168.3.148\"\r\n      }\r\n    ],\r\n    \"nodeInfo\": {\r\n      \"machineID\": \"e3448a36021a4ac494c01a7fb65a9ffa\",\r\n      \"systemUUID\": \"4201C1A8-F3A0-EE67-AEDF-833EDEF665B1\",\r\n      \"bootID\": \"aae79eff-e3d7-475d-91ef-5bead8231d97\",\r\n      \"kernelVersion\": \"3.10.0-229.el7.x86_64\",\r\n      \"osImage\": \"CentOS Linux 7 (Core)\",\r\n      \"containerRuntimeVersion\": \"docker://1.6.0\",\r\n      \"kubeletVersion\": \"v0.21.4\",\r\n      \"kubeProxyVersion\": \"v0.21.4\"\r\n    }\r\n  }\r\n}\r\n```"}}