code: def _CreateKubernetesRunner(self, k8s_config_dict=None):
      self._serving_spec = infra_validator_pb2.ServingSpec()
      json_format.ParseDict(
          {
              "tensorflow_serving": {"tags": ["1.15.0"]},
              "kubernetes": k8s_config_dict or {},
              "model_name": self._model_name,
          },
          self._serving_spec,
      )
      serving_binary = serving_bins.parse_serving_binaries(
          self._serving_spec
      )[0]
  
      return kubernetes_runner.KubernetesRunner(
          model_path=path_utils.serving_model_path(self._model.uri),
          serving_binary=serving_binary,
          serving_spec=self._serving_spec,
      )
  
imports: import os
  from typing import Any, Dict
  from unittest import mock
  from kubernetes import client
  from kubernetes.client import rest
  import tensorflow
  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 kubernetes_runner
  from tfx.proto import infra_validator_pb2
  from tfx.types import standard_artifacts
  from tfx.utils import kube_utils
  from tfx.utils import path_utils
  from google.protobuf import json_format
label_desc: Use image node_id 2 for calling the KubernetesRunnerTest obj's underlying member method code with example usage: obj._CreateKubernetesRunner(k8s_config_dict) and returns: kubernetes_runner