diff --git a/discovery/kubernetes/node.go b/discovery/kubernetes/node.go index c541f3946..a99eca08c 100644 --- a/discovery/kubernetes/node.go +++ b/discovery/kubernetes/node.go @@ -192,6 +192,7 @@ func (n *Node) buildNode(node *apiv1.Node) *targetgroup.Group { // nodeAddresses returns the provided node's address, based on the priority: // 1. NodeInternalIP // 2. NodeExternalIP +// 3. NodeLegacyHostIP // 3. NodeHostName // // Derived from k8s.io/kubernetes/pkg/util/node/node.go