nemo_microservices.types.jobs.volcano_job_execution_profile_config#

Module Contents#

Classes#

API#

class nemo_microservices.types.jobs.volcano_job_execution_profile_config.VolcanoJobExecutionProfileConfig(/, **data: typing.Any)#

Bases: nemo_microservices._models.BaseModel

active_deadline_seconds: Optional[int]#

None

affinity: Optional[Dict[str, object]]#

None

cleanup_completed_jobs_immediately: Optional[bool]#

None

image_pull_secrets: Optional[List[nemo_microservices.types.jobs.kubernetes_job_image_pull_secret.KubernetesJobImagePullSecret]]#

None

job_metadata: Optional[nemo_microservices.types.jobs.kubernetes_object_metadata.KubernetesObjectMetadata]#

None

logging: Optional[nemo_microservices.types.jobs.kubernetes_logging_sidecar.KubernetesLoggingSidecar]#

None

Configuration for Kubernetes Logging Sidecar

max_retry: Optional[int]#

None

maxRetry indicates the maximum number of retries allowed by the job

namespace: Optional[str]#

None

Kubernetes namespace to submit the job to.

If not set, it will be determined from the environment.

node_selector: Optional[Dict[str, str]]#

None

num_gpus: Optional[int]#

None

plugins: Optional[Dict[str, object]]#

None

plugins indicates the plugins used by Volcano when the job is scheduled.

We always add the pytorch plugin if more than one node.

pod_metadata: Optional[nemo_microservices.types.jobs.kubernetes_object_metadata.KubernetesObjectMetadata]#

None

queue: Optional[str]#

None

The Volcano queue to submit the job to.

resources: Optional[nemo_microservices.types.jobs.compute_resources.ComputeResources]#

None

Resource requirements matching k8s ResourceRequirements format.

scheduler_name: Optional[str]#

None

The scheduler name to use for the Volcano job.

security_context: Optional[Dict[str, object]]#

None

storage: Optional[nemo_microservices.types.jobs.kubernetes_job_storage_config.KubernetesJobStorageConfig]#

None

Configuration for persistent storage in Kubernetes jobs.

tolerations: Optional[List[Dict[str, object]]]#

None

ttl_seconds_after_finished: Optional[int]#

None