Add ability to configure ConcurrenyOptions
to the CLI
#15416
Labels
enhancement
An improvement of an existing feature
ConcurrenyOptions
to the CLI
#15416
Describe the current behavior
Currently users can set the the concurrency_limit for a deployment when creating it with the CLI by specifying the limit with and int as so: `deploy "my-deployment -cl 1".
Upcoming work #15291, adds options for handling concurrency limiting which we will need add to the CLI.
Describe the proposed behavior
I think that it while it's possible to create a custom type in typer and configure them as so
deploy "my-deployment" -cl 1 --concurrency-options = {'collisions-strategy' = 'cancel-new'}
, it makes for a better user experience if we flatten it. This could be done for each subsequent options that gets added and along with sane defaults, users wouldn't be setting a lot of these.Example Use
deploy "my-deployment" -cl 42 --collision strategy "cancel-new"
Additional context
No response
The text was updated successfully, but these errors were encountered: