
CustomJob
CustomJob
yaml
type: "io.kestra.plugin.gcp.vertexai.CustomJob"Examples
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
displayName*Requiredstring
region*Requiredstring
spec*RequiredNon-dynamic
Definitions
io.kestra.plugin.gcp.vertexai.models.CustomJobSpec
workerPoolSpecs*Requiredarray
Min items
1io.kestra.plugin.gcp.vertexai.models.WorkerPoolSpec
containerSpec*Required
io.kestra.plugin.gcp.vertexai.models.ContainerSpec
imageUri*Requiredstring
argsarray
SubTypestring
commandsarray
SubTypestring
envobject
SubTypestring
machineSpec*Required
io.kestra.plugin.gcp.vertexai.models.MachineSpec
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_LITEPODUNRECOGNIZEDdiscSpec
io.kestra.plugin.gcp.vertexai.models.DiscSpec
bootDiskSizeGbintegerstring
Default
100bootDiskTypestring
Default
PD_SSDPossible Values
PD_SSDPD_STANDARDpythonPackageSpec
io.kestra.plugin.gcp.vertexai.models.PythonPackageSpec
args*Requiredarray
SubTypestring
envs*Requiredobject
SubTypestring
packageUris*Requiredarray
SubTypestring
replicaCountintegerstring
baseOutputDirectory
io.kestra.plugin.gcp.vertexai.models.GcsDestination
outputUriPrefix*Requiredstring
enableWebAccessbooleanstring
networkstring
scheduling
io.kestra.plugin.gcp.vertexai.models.Scheduling
restartJobOnWorkerRestart*Requiredbooleanstring
timeOut*Requiredstring
Format
durationserviceAccountstring
tensorboardstring
deletebooleanstring
Default
trueimpersonatedServiceAccountstring
projectIdstring
scopesarray
SubTypestring
Default
["https://www.googleapis.com/auth/cloud-platform"]serviceAccountstring
waitbooleanstring
Default
trueOutputs
createDate*Requiredstring
Format
date-timeendDate*Requiredstring
Format
date-timename*Requiredstring
state*Requiredstring
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_SUCCEEDEDUNRECOGNIZEDupdateDate*Requiredstring
Format
date-time