code: def start_port_forward():
      proc = None
      proc = subprocess.Popen(
          [
              "kubectl",
              "port-forward",
              f"svc/{RAY_SERVICE_NAME}-serve-svc",
              "8000:8000",
              "--address=0.0.0.0",
          ]
      )
  
      while True:
          try:
              resp = requests.get(
                  "http://localhost:8000/",
                  timeout=1,
                  params={
                      "val": 10,
                  },
              )
              if resp.status_code == 200:
                  print("The ray service is ready!!!")
                  break
          except requests.exceptions.Timeout:
              pass
          except requests.exceptions.ConnectionError:
              pass
  
          print("Waiting for the proxy to be alive")
          time.sleep(1)
  
      return proc
  
imports: import enum
  import json
  import subprocess
  from kubernetes import client, config, watch
  import requests
  import random
  import uuid
  import pathlib
  import time
  import ray
  import os
label_desc: Use image node_id 4 for calling a global function with example usage: start_port_forward() and returns: proc