From 1ba4fb73b87027de553c62c2f29ed8be5f0abb6a Mon Sep 17 00:00:00 2001 From: pollfly <75068813+pollfly@users.noreply.github.com> Date: Sun, 13 Mar 2022 12:28:31 +0200 Subject: [PATCH] Add clearml-agent services-mode max tasks info (#199) --- docs/clearml_agent.md | 4 ++++ docs/references/clearml_agent_ref.md | 4 ++++ 2 files changed, 8 insertions(+) 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`) + ---