code: def get_pod_status(helm_release_name, namespace):
      from kubernetes import client, config
  
      config.load_kube_config()
      v1 = client.CoreV1Api()
      pod_status = []
      label_selector = "app.kubernetes.io/instance={}".format(
          helm_release_name
      )
      # pods = v1.list_namespaced_pod(namespace, label_selector=label_selector)
      pods = v1.list_namespaced_pod(namespace)
      for i in pods.items:
          if i.metadata.name.find(helm_release_name) != -1:
              pod_name = i.metadata.name
              result = v1.read_namespaced_pod_status(
                  pod_name, namespace
              )
              pod_status.append(
                  {"pod": pod_name, "status": result.status.phase}
              )
      # print(pod_status)
      return pod_status
  
file_path: milvus/tests/benchmark/milvus_benchmark/env/helm_utils.py
imports: import os
  import pdb
  import time
  import logging
  import hashlib
  import traceback
  from yaml import full_load, dump
  from milvus_benchmark import utils
  from milvus_benchmark import config
label_desc: Use image node_id 7 for calling a global function with example usage: get_pod_status(helm_release_name, namespace) and returns: pod_status