Files
kubernetes/pkg/api
Kubernetes Submit Queue 0068c3094a Merge pull request #36095 from caesarxuchao/deprecate-LegacyHostIP
Automatic merge from submit-queue

[RFC] Prepare for deprecating NodeLegacyHostIP

Ref https://github.com/kubernetes/kubernetes/issues/9267#issuecomment-257994766

*What this PR does*
- Add comments saying "LegacyHostIP" will be deprecated in 1.7;
- Add v1.NodeLegacyHostIP to be consistent with the internal API (useful for client-go migration #35159)
- Let cloudproviders who used to only set LegacyHostIP set the IP as both InternalIP and ExternalIP
- Master used to ssh tunnel to node's ExternalIP or LegacyHostIP to do [healthz check](https://github.com/kubernetes/kubernetes/blame/master/pkg/master/master.go#L328-L332). OTOH, if on-prem, kubelet only [sets](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet_node_status.go#L430-L431) LegacyHostIP or InternalIP. In order to deprecate LegacyHostIP in 1.7, I let healthz check to use InternalIP if ExternalIP is not available. (The healthz check is the only consumer of LegacyHostIP in k8s.)

@liggitt @justinsb @bgrant0607 

```release-note
LegacyHostIP will be deprecated in 1.7.
```
2016-11-06 21:21:15 -08:00
..
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-11-03 18:36:32 +01:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-25 19:28:40 -04:00
2016-07-16 13:48:21 -04:00
2016-09-19 09:57:19 -04:00
2016-08-22 21:09:57 -07:00
2016-09-28 10:53:30 -07:00
2016-03-02 20:46:32 -05:00
2016-07-12 21:52:00 -07:00
2016-08-29 11:31:16 +02:00
2016-09-23 12:03:58 +02:00