When running a large parallel job on a k8s cluster, I might have many more tasks that need to be run than I have pods to run them. In that case, it would be very useful to use k8s indexed jobs. A key part of this is the ability to set parallelism and completions to different values—specifically, parallelism would have a lower value than completions. See the discussion in https://github.com/iterative/terraform-provider-iterative/pull/597 for background and context.
Requested Functionality
When running a large parallel job on a k8s cluster, I might have many more tasks that need to be run than I have pods to run them. In that case, it would be very useful to use k8s indexed jobs. A key part of this is the ability to set
parallelism
andcompletions
to different values—specifically,parallelism
would have a lower value thancompletions
. See the discussion in https://github.com/iterative/terraform-provider-iterative/pull/597 for background and context.Example TF file: