https://dagster.io/ logo
#ask-community
Title
# ask-community
s

Serge Gekker

07/31/2023, 4:48 PM
Question around limiting concurrency using the k8s_job_executor. The example in the documentation uses
multiprocess_executor
which uses the
multiprocess
key. What would be the key for k8s_job_executor?
Copy code
assets_job = define_asset_job(
    name="assets_job",
    config={
        "execution": {
            "config": {
                "multiprocess": {
                    "max_concurrent": 3,      # limits concurrent assets to 3
                },
            }
        }
    }
)
o

owen

07/31/2023, 6:04 PM
hi @Serge Gekker! you'll want
Copy code
{
    "execution": {
        "config": {
            "max_concurrent": 3, # limits concurrent assets to 3
        }
    }
}
(essentially just getting rid of the "multiprocess" level in the hierarchy)
s

Serge Gekker

07/31/2023, 6:08 PM
Thank you Owen!