class_docstr: A model server runner that launches model server in kubernetes cluster.
class_docstr_tok: ["A","model","server","runner","that","launches","model","server","in","kubernetes","cluster","."]
code: def _FindVolumeMountForPath(
      self, path
  ) -> Optional[k8s_client.V1VolumeMount]:
      if not os.path.exists(path):
          return None
      for mount in self._executor_container.volume_mounts:
          if _is_subdirectory(mount.mount_path, self._model_path):
              return mount
      return None
  
imports: import datetime
  import os
  import time
  from typing import Optional
  from absl import logging
  from apache_beam.utils import retry
  from kubernetes import client
  from kubernetes.client import rest
  from tfx.components.infra_validator import error_types
  from tfx.components.infra_validator import serving_bins
  from tfx.components.infra_validator.model_server_runners import base_runner
  from tfx.proto import infra_validator_pb2
  from tfx.utils import kube_utils
label_desc: Use image node_id 10 for calling the KubernetesRunner obj's underlying member method code with example usage: obj._FindVolumeMountForPath(path) and returns: None, None, mount