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 Stop(self) -> None:
      try:
          self._DeleteModelServerPod()
      except:  # pylint: disable=broad-except, bare-except
          logging.warning(
              "Error occurred while deleting the Pod. Please run the "
              "following command to manually clean it up:\n\n"
              "kubectl delete pod --namespace %s %s",
              self._namespace,
              self._pod_name,
              exc_info=True,
          )
  
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 7 for calling the KubernetesRunner obj's underlying member method code with example usage: obj.Stop() without return types