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-dynamicCustomJobSpec
delete booleanstring
Default
true
impersonatedServiceAccount string
projectId string
scopes array
SubType string
Default
["https://www.googleapis.com/auth/cloud-platform"]
serviceAccount string
wait booleanstring
Default
true
Outputs
createDate *Requiredstring
Format
date-time
endDate *Requiredstring
Format
date-time
name *Requiredstring
state *Requiredstring
Possible Values
JOB_STATE_UNSPECIFIED
JOB_STATE_QUEUED
JOB_STATE_PENDING
JOB_STATE_RUNNING
JOB_STATE_SUCCEEDED
JOB_STATE_FAILED
JOB_STATE_CANCELLING
JOB_STATE_CANCELLED
JOB_STATE_PAUSED
JOB_STATE_EXPIRED
JOB_STATE_UPDATING
JOB_STATE_PARTIALLY_SUCCEEDED
UNRECOGNIZED
updateDate *Requiredstring
Format
date-time
Definitions
io.kestra.plugin.gcp.vertexai.models.ContainerSpec
imageUri *Requiredstring
args array
SubType string
commands array
SubType string
env object
SubType string
io.kestra.plugin.gcp.vertexai.models.CustomJobSpec
baseOutputDirectory GcsDestination
enableWebAccess booleanstring
network string
scheduling Scheduling
serviceAccount string
tensorboard string
io.kestra.plugin.gcp.vertexai.models.GcsDestination
outputUriPrefix *Requiredstring
io.kestra.plugin.gcp.vertexai.models.WorkerPoolSpec
containerSpec *RequiredContainerSpec
machineSpec *RequiredMachineSpec
discSpec DiscSpec
pythonPackageSpec PythonPackageSpec
replicaCount integerstring
io.kestra.plugin.gcp.vertexai.models.PythonPackageSpec
args *Requiredarray
SubType string
envs *Requiredobject
SubType string
packageUris *Requiredarray
SubType string
io.kestra.plugin.gcp.vertexai.models.DiscSpec
bootDiskSizeGb integerstring
Default
100
bootDiskType string
Default
PD_SSD
Possible Values
PD_SSD
PD_STANDARD
io.kestra.plugin.gcp.vertexai.models.MachineSpec
machineType *Requiredstring
acceleratorCount integerstring
acceleratorType string
Possible Values
ACCELERATOR_TYPE_UNSPECIFIED
NVIDIA_TESLA_K80
NVIDIA_TESLA_P100
NVIDIA_TESLA_V100
NVIDIA_TESLA_P4
NVIDIA_TESLA_T4
NVIDIA_TESLA_A100
NVIDIA_A100_80GB
NVIDIA_L4
NVIDIA_H100_80GB
NVIDIA_H100_MEGA_80GB
NVIDIA_H200_141GB
NVIDIA_B200
NVIDIA_GB200
TPU_V2
TPU_V3
TPU_V4_POD
TPU_V5_LITEPOD
UNRECOGNIZED
io.kestra.plugin.gcp.vertexai.models.Scheduling
restartJobOnWorkerRestart *Requiredbooleanstring
timeOut *Requiredstring
Format
duration