code: def teardown_kuberay_operator():
      logger.info("Switching to parent of Ray directory.")
      os.chdir(RAY_PARENT)
  
      logger.info("Deleting operator.")
      subprocess.check_call(
          [
              "kubectl",
              "delete",
              "--ignore-not-found",
              "-k",
              "ray/python/ray/autoscaler/kuberay/config/default",
          ]
      )
  
      logger.info(
          "Double-checking no pods left over in namespace ray-system."
      )
      wait_for_pods(goal_num_pods=0, namespace="ray-system")
  
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 3 for calling a global function with example usage: teardown_kuberay_operator() without return types