CustomJobCustomJob
CustomJobCertified

yaml
type: "io.kestra.plugin.gcp.vertexai.CustomJob"
yaml
id: gcp_vertexai_custom_job
namespace: company.team

tasks:
  - id: custom_job
    type: io.kestra.plugin.gcp.vertexai.CustomJob
    projectId: my-gcp-project
    region: europe-west1
    displayName: Start Custom Job
    spec:
      workerPoolSpecs:
      - containerSpec:
          imageUri: gcr.io/my-gcp-project/my-dir/my-image:latest
        machineSpec:
          machineType: n1-standard-4
        replicaCount: 1
Properties
Definitions
workerPoolSpecs*Requiredarray
Min items1
containerSpec*Required
imageUri*Requiredstring
argsarray
SubTypestring
commandsarray
SubTypestring
envobject
SubTypestring
machineSpec*Required
machineType*Requiredstring
acceleratorCountintegerstring
acceleratorTypestring
Possible Values
ACCELERATOR_TYPE_UNSPECIFIEDNVIDIA_TESLA_K80NVIDIA_TESLA_P100NVIDIA_TESLA_V100NVIDIA_TESLA_P4NVIDIA_TESLA_T4NVIDIA_TESLA_A100NVIDIA_A100_80GBNVIDIA_L4NVIDIA_H100_80GBNVIDIA_H100_MEGA_80GBNVIDIA_H200_141GBNVIDIA_B200NVIDIA_GB200NVIDIA_RTX_PRO_6000TPU_V2TPU_V3TPU_V4_PODTPU_V5_LITEPODUNRECOGNIZED
discSpec
bootDiskSizeGbintegerstring
Default100
bootDiskTypestring
DefaultPD_SSD
Possible Values
PD_SSDPD_STANDARD
pythonPackageSpec
args*Requiredarray
SubTypestring
envs*Requiredobject
SubTypestring
packageUris*Requiredarray
SubTypestring
replicaCountintegerstring
baseOutputDirectory
outputUriPrefix*Requiredstring
enableWebAccessbooleanstring
networkstring
scheduling
restartJobOnWorkerRestart*Requiredbooleanstring
timeOut*Requiredstring
Formatduration
serviceAccountstring
tensorboardstring
Defaulttrue
SubTypestring
Default["https://www.googleapis.com/auth/cloud-platform"]
Defaulttrue
Formatdate-time
Formatdate-time
Possible Values
JOB_STATE_UNSPECIFIEDJOB_STATE_QUEUEDJOB_STATE_PENDINGJOB_STATE_RUNNINGJOB_STATE_SUCCEEDEDJOB_STATE_FAILEDJOB_STATE_CANCELLINGJOB_STATE_CANCELLEDJOB_STATE_PAUSEDJOB_STATE_EXPIREDJOB_STATE_UPDATINGJOB_STATE_PARTIALLY_SUCCEEDEDUNRECOGNIZED
Formatdate-time