code: def testBuildPodManifest_InsideKfp(self):
      # Prepare mocks and variables.
      self._AssumeInsideKfp(
          namespace="strawberry-latte",
          pod_name="green-tea-latte",
          pod_uid="chocolate-latte",
          pod_service_account_name="vanilla-latte",
      )
      runner = self._CreateKubernetesRunner()
  
      # Act.
      pod_manifest = runner._BuildPodManifest()
  
      # Check result.
      self.assertEqual(
          pod_manifest.metadata.generate_name,
          "tfx-infraval-modelserver-",
      )
      self.assertEqual(
          pod_manifest.metadata.labels,
          {"app": "tfx-infraval-modelserver"},
      )
      owner_ref = pod_manifest.metadata.owner_references[0]
      self.assertEqual(owner_ref.name, "green-tea-latte")
      self.assertEqual(owner_ref.uid, "chocolate-latte")
      self.assertEqual(
          pod_manifest.spec.service_account_name, "vanilla-latte"
      )
      self.assertEqual(pod_manifest.spec.restart_policy, "Never")
      container = pod_manifest.spec.containers[0]
      self.assertEqual(container.name, "model-server")
      self.assertEqual(container.image, "tensorflow/serving:1.15.0")
      container_envs = {env.name for env in container.env}
      self.assertIn("MODEL_NAME", container_envs)
      self.assertIn("MODEL_BASE_PATH", container_envs)
  
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 6 for calling the KubernetesRunnerTest obj's underlying member method code with example usage: obj.testBuildPodManifest_InsideKfp() without return types