code: def get_pod_names(namespace: str) -> List[str]:
      """Get the list of pod names in the namespace."""
      get_pods_output = (
          subprocess.check_output(
              [
                  "kubectl",
                  "-n",
                  namespace,
                  "get",
                  "pods",
                  "-o",
                  "custom-columns=POD:metadata.name",
                  "--no-headers",
              ]
          )
          .decode()
          .strip()
      )
  
      # If there aren't any pods, the output is any empty string.
      if not get_pods_output:
          return []
      else:
          return get_pods_output.split("\n")
  
imports: import atexit
  import contextlib
  import logging
  import pathlib
  import subprocess
  import tempfile
  import time
  from typing import Any, Dict, Generator, List, Optional
  import yaml
  import os
  import ray
  from ray.job_submission import JobStatus, JobSubmissionClient
label_desc: Use image node_id 7 for calling a global function with example usage: get_pod_names(namespace) and returns: list, get_pods_output