code: def get_pod_ip_name_pairs(namespace, label_selector):
      """
      get pod ip name pairs with label selector
  
      :param namespace: the namespace where the release
      :type namespace: str
  
      :param label_selector: labels to restrict which pods to list
      :type label_selector: str
  
      :example:
              >>> get_pod_ip_name_pairs("chaos-testing", "app.kubernetes.io/instance=test-proxy-pod-failure, component=querynode")
      """
      m = dict()
      items = get_pod_list(namespace, label_selector)
      for item in items:
          ip = item.status.pod_ip
          name = item.metadata.name
          m[ip] = name
      return m
  
imports: import json
  import os.path
  import time
  import pyetcd
  import requests
  from pymilvus import connections
  from kubernetes import client, config
  from kubernetes.client.rest import ApiException
  from common.milvus_sys import MilvusSys
  from utils.util_log import test_log
  from chaos import chaos_commons
  from common.common_type import in_cluster_env
label_desc: Use image node_id 5 for calling a global function with example usage: get_pod_ip_name_pairs(namespace, label_selector) and returns: m