diff --git a/docs/clearml_agent.md b/docs/clearml_agent.md index 8f3bd693..a150cf61 100644 --- a/docs/clearml_agent.md +++ b/docs/clearml_agent.md @@ -583,6 +583,10 @@ To run a `clearml-agent` in services mode, run: ```bash clearml-agent daemon --services-mode --queue services --create-queue --docker --cpu-only ``` + +To limit the number of simultaneous tasks run in services mode, pass the maximum number immediately after the +`--services-mode` option (e.g. `--services-mode 5`) + :::note Notes * `services-mode` currently only supports Docker mode. Each service spins on its own Docker image. * The default `clearml-server` configuration already runs a single `clearml-agent` in services mode that listens to the diff --git a/docs/references/clearml_agent_ref.md b/docs/references/clearml_agent_ref.md index 97a6b0b8..86c54ca9 100644 --- a/docs/references/clearml_agent_ref.md +++ b/docs/references/clearml_agent_ref.md @@ -336,6 +336,10 @@ This feature is available under the ClearML Enterprise plan * Launch multiple long-term docker services. Spin multiple, simultaneous Tasks, each in its own Docker container, on the same machine. Each Task will be registered as a new node in the system, providing tracking and transparency capabilities. Start up and shutdown of each Docker is verified. Use in CPU mode (`--cpu-only`), only. + +* To limit the number of simultaneous tasks run in services mode, pass the maximum number immediately after the +`--services-mode` option (e.g. `--services-mode 5`) + ---