To create a pipeline schedule of Vertex AI, we can usebelow snippet:from google.cloud import aiplatform
pipeline_job = aiplatform.PipelineJob(
template_path="COMPILED_PIPELINE_PATH",
pipeline_root="PIPELINE_ROOT_PATH",
display_name="DISPLAY_NAME",
)
pipeline_job_schedule = pipeline_job.create_schedule(
display_name="SCHEDULE_NAME",
cron="TZ=CRON",
max_concurrent_run_count=MAX_CONCURRENT_RUN_COUNT,
max_run_count=MAX_RUN_COUNT,
service_account="XYZ",
)This Python code runs with service account “XYZ” and we also want the schedule to run as service account “XYZ&
...
继续阅读
(64)