[SIMPL-30451] Distributed execution reference service and container-cluster configuration guide #1
@@ -81,12 +81,19 @@ tightly_coupled_k8s_job = distributed_execution_reference.to_job(
|
|||||||
"Tightly coupled, one Kubernetes Job per step. Each step pod must reach the metadata "
|
"Tightly coupled, one Kubernetes Job per step. Each step pod must reach the metadata "
|
||||||
"database, object storage and Vault. Requires a cluster - not runnable locally."
|
"database, object storage and Vault. Requires a cluster - not runnable locally."
|
||||||
),
|
),
|
||||||
executor_def=k8s_job_executor.configured(
|
# Defaults go through `config` rather than `executor_def=...configured(...)`.
|
||||||
{
|
# `.configured()` collapses the executor's config schema to Any, so a run
|
||||||
"image_pull_policy": "IfNotPresent",
|
# config `execution:` block is accepted and then silently discarded - which
|
||||||
"step_k8s_config": STEP_K8S_CONFIG,
|
# also makes job_image and job_namespace impossible to supply at launch time.
|
||||||
|
executor_def=k8s_job_executor,
|
||||||
|
config={
|
||||||
|
"execution": {
|
||||||
|
"config": {
|
||||||
|
"image_pull_policy": "IfNotPresent",
|
||||||
|
"step_k8s_config": STEP_K8S_CONFIG,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
),
|
},
|
||||||
tags={**COMMON_TAGS, "executor": "k8s_job"},
|
tags={**COMMON_TAGS, "executor": "k8s_job"},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user