class_docstr: Run submitted to a CRD backend, e.g. Volcano.
class_docstr_tok: ["Run","submitted","to","a","CRD","backend",",","e.g",".","Volcano","."]
docstr: Create a run object for tracking the progress of a CRD.
  
  Arguments:
      group: The API group of the CRD.
      version: The API version of the CRD.
      plural: The plural name of the CRD.
      name: The name of the CRD instance.
      namespace: The namespace of the CRD instance.
      core_api: The Kubernetes core API client.
      custom_api: The Kubernetes custom object API client.
  
  Raises:
      LaunchError: If the CRD instance does not exist.
docstr_tok: ["Create","a","run","object","for","tracking","the","progress","of","a","CRD",".","Arguments",":","group",":","The","API","group","of","the","CRD",".","version",":","The","API","version","of","the","CRD",".","plural",":","The","plural","name","of","the","CRD",".","name",":","The","name","of","the","CRD","instance",".","namespace",":","The","namespace","of","the","CRD","instance",".","core_api",":","The","Kubernetes","core","API","client",".","custom_api",":","The","Kubernetes","custom","object","API","client",".","Raises",":","LaunchError",":","If","the","CRD","instance","does","not","exist","."]
code: def __init__(
      self,
      group: str,
      version: str,
      plural: str,
      name: str,
      namespace: str,
      core_api: CoreV1Api,
      custom_api: CustomObjectsApi,
  ) -> None:
      """Create a run object for tracking the progress of a CRD.
  
      Arguments:
          group: The API group of the CRD.
          version: The API version of the CRD.
          plural: The plural name of the CRD.
          name: The name of the CRD instance.
          namespace: The namespace of the CRD instance.
          core_api: The Kubernetes core API client.
          custom_api: The Kubernetes custom object API client.
  
      Raises:
          LaunchError: If the CRD instance does not exist.
      """
      self.group = group
      self.version = version
      self.plural = plural
      self.name = name
      self.namespace = namespace
      self.core_api = core_api
      self.custom_api = custom_api
      self._fail_count = 0
  
imports: import asyncio
  import base64
  import json
  import logging
  from typing import Any, Dict, Iterator, List, Optional, Tuple, Union
  import yaml
  import wandb
  from wandb.apis.internal import Api
  from wandb.sdk.launch.agent.agent import LaunchAgent
  from wandb.sdk.launch.environment.abstract import AbstractEnvironment
  from wandb.sdk.launch.registry.abstract import AbstractRegistry
  from wandb.sdk.launch.registry.azure_container_registry import AzureContainerRegistry
  from wandb.sdk.launch.registry.local_registry import LocalRegistry
  from wandb.sdk.launch.runner.abstract import Status
  from wandb.sdk.launch.runner.kubernetes_monitor import WANDB_K8S_LABEL_AGENT, WANDB_K8S_LABEL_MONITOR, WANDB_K8S_RUN_ID, CustomResource, LaunchKubernetesMonitor
  from wandb.util import get_module
  from .._project_spec import EntryPoint, LaunchProject
  from ..builder.build import get_env_vars_dict
  from ..errors import LaunchError
  from ..utils import LOG_PREFIX, MAX_ENV_LENGTHS, PROJECT_SYNCHRONOUS, get_kube_context_and_api_client, make_name_dns_safe
  from .abstract import AbstractRun, AbstractRunner
  import kubernetes_asyncio
  from kubernetes_asyncio import client
  from kubernetes_asyncio.client.api.batch_v1_api import BatchV1Api
  from kubernetes_asyncio.client.api.core_v1_api import CoreV1Api
  from kubernetes_asyncio.client.api.custom_objects_api import CustomObjectsApi
  from kubernetes_asyncio.client.models.v1_secret import V1Secret
  from kubernetes_asyncio.client.rest import ApiException
label_desc: Use image node_id 1 to create a new CrdSubmittedRun object from inherited base classes: AbstractRun with example: obj = CrdSubmittedRun(group, version, plural, name, namespace, core_api, custom_api)