code: func GetNodeIP(client clientset.Interface, hostname string) net.IP {
  	var nodeIP net.IP
  	node, err := client.CoreV1().Nodes().Get(hostname, metav1.GetOptions{})
  	if err != nil {
  		klog.Warningf("Failed to retrieve node info: %v", err)
  		return nil
  	}
  	nodeIP, err = GetNodeHostIP(node)
  	if err != nil {
  		klog.Warningf("Failed to retrieve node IP: %v", err)
  		return nil
  	}
  	return nodeIP
  }
docs: // GetNodeIP returns the ip of node with the provided hostname