code: def init_k8s_client_config():
      """
      init kubernetes client config
      """
      try:
          in_cluster = os.getenv(in_cluster_env, default="False")
          # log.debug(f"env variable IN_CLUSTER: {in_cluster}")
          if in_cluster.lower() == "true":
              config.load_incluster_config()
          else:
              config.load_kube_config()
      except Exception as e:
          raise Exception(e)
  
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 1 for calling a global function with example usage: init_k8s_client_config() without return types