Aaron Gonzalez
02/20/2023, 4:07 PMYou can structure a job as a single task or as multiple, independent tasks (up to 10,000 tasks) that can be executed in parallel. Each task runs one container instance and can be configured to retry in case of failure. Each task is aware of its index, which is stored in theenvironment variable. The overall count of tasks is stored in theCLOUD_RUN_TASK_INDEX
environment variable. If you are processing data in parallel, your code is responsible for determining which task handles which subset of the data.CLOUD_RUN_TASK_COUNT
gsutil rsync
's)Thet Naing
02/20/2023, 5:42 PM