Replace NodeLegacyHostIP with NodeInternalIP
This commit is contained in:
parent
9ddf98769a
commit
b1d6468d5d
3 changed files with 11 additions and 11 deletions
|
|
@ -94,7 +94,7 @@ func GetNodeIP(kubeClient clientset.Interface, name string) string {
|
|||
}
|
||||
}
|
||||
|
||||
if externalIP == "" && address.Type == api.NodeLegacyHostIP {
|
||||
if externalIP == "" && address.Type == api.NodeInternalIP {
|
||||
externalIP = address.Address
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue