code: def _refresh_client(self):
      from kubernetes import client, config
  
      if os.getenv("KUBERNETES_SERVICE_HOST"):
          # We are inside a pod, authenticate via ServiceAccount assigned to us
          config.load_incluster_config()
      else:
          # Use kubeconfig, likely $HOME/.kube/config
          # TODO (savin):
          #  1. Support generating kubeconfig on the fly using boto3
          #  2. Support auth via OIDC - https://docs.aws.amazon.com/eks/latest/userguide/authenticate-oidc-identity-provider.html
          config.load_kube_config()
      self._client = client
      self._client_refresh_timestamp = time.time()
  
file_path: metaflow/metaflow/plugins/kubernetes/kubernetes_client.py
imports: import os
  import sys
  import time
  from metaflow.exception import MetaflowException
  from .kubernetes_job import KubernetesJob
label_desc: Use image node_id 2 for calling the KubernetesClient obj's underlying member method code with example usage: obj._refresh_client() without return types