diff --git a/cloud/linode/instances.go b/cloud/linode/instances.go index f2f467c3..21711745 100644 --- a/cloud/linode/instances.go +++ b/cloud/linode/instances.go @@ -285,6 +285,7 @@ func (i *instances) InstanceMetadata(ctx context.Context, node *v1.Node) (*cloud addresses = append(addresses, v1.NodeAddress{Type: ip.ipType, Address: ip.ip}) } + klog.Infof("Instance %s, assembled IP addresses: %v", node.Name, addresses) // note that Zone is omitted as it's not a thing in Linode meta := &cloudprovider.InstanceMetadata{ ProviderID: fmt.Sprintf("%v%v", providerIDPrefix, linode.ID), diff --git a/cloud/linode/loadbalancers.go b/cloud/linode/loadbalancers.go index 4ff829c7..4a396ccf 100644 --- a/cloud/linode/loadbalancers.go +++ b/cloud/linode/loadbalancers.go @@ -903,6 +903,7 @@ func getNodePrivateIP(node *v1.Node) string { return address } + klog.Infof("Node %s, assigned IP addresses: %v", node.Name, node.Status.Addresses) for _, addr := range node.Status.Addresses { if addr.Type == v1.NodeInternalIP { return addr.Address