code: def load_cluster_config() -> None:
      import kubernetes
  
      try:
          # try loading kube config from disk first
          kubernetes.config.load_kube_config()
      except kubernetes.config.config_exception.ConfigException:
          # if the config could not be read from disk, try loading in cluster config
          # this works if we are running inside k8s
          kubernetes.config.load_incluster_config()
  
imports: import contextlib
  import os
  import subprocess
  import tempfile
  import time
  from pathlib import Path
  from typing import Dict, List
  import docker
  import pytest
  from pytest import FixtureRequest
  from pytest_kind import KindCluster
  from jina.logging.logger import JinaLogger
label_desc: Use image node_id 7 for calling a global function with example usage: load_cluster_config() without return types