Slide 19
Slide 19 text
AbemaTV, Inc. All Rights Reserved
AbemaTV, Inc. All Rights Reserved
19
19
現在の構成 - Cloud Workflows
main:
steps:
- parallel_step:
parallel:
for:
value: target
in: ["gke", "gce", "spanner", "bigtable", "redis", "redis-cluster"]
steps:
- run_job:
call: googleapis.run.v1.namespaces.jobs.run
args:
name: ${"namespaces/" + project_id + "/jobs/" + job_name}
location: ${job_location}
body:
overrides:
containerOverrides:
- env:
- name: TERMINATION_TARGET
value: ${target}
connector_params:
timeout: 21600 # 6 hours
result: job_execution
❏ 各サービスに並列化
❏ Job の環境変数を上書き
❏ タイムアウト時間を伸ばす