Update Docusaurus (#855)

This commit is contained in:
pollfly
2024-06-23 10:00:06 +03:00
committed by GitHub
parent f52a139c34
commit d166467a32
32 changed files with 8616 additions and 4726 deletions

View File

@@ -712,7 +712,7 @@ To limit the number of simultaneous tasks run in services mode, pass the maximum
Launch a service task like any other task, by enqueuing it to the appropriate queue.
:::caution
:::warning
Do not enqueue training or inference tasks into the services queue. They will put an unnecessary load on the server.
:::
@@ -799,7 +799,7 @@ Override worker schedules by:
Set a schedule for a worker from the command line when running `clearml-agent`. Two properties enable setting working hours:
:::caution
:::warning
Use only one of these properties
:::
@@ -828,7 +828,7 @@ For example:
Set a schedule for a worker using configuration file options. The options are:
:::caution
:::warning
Use only one of these properties
:::
@@ -845,7 +845,7 @@ For example, set a worker's schedule from 5 PM to 8 PM on Sunday through Tuesday
Runtime properties override the command line uptime / downtime properties. The runtime properties are:
:::caution
:::warning
Use only one of these properties
:::
@@ -861,13 +861,15 @@ endpoint, as follows:
For example, to force a worker on for 24 hours:
curl --user <key>:<secret> --header "Content-Type: application/json" --data '{"worker":"<worker_id>","runtime_properties":[{"key": "force", "value": "on", "expiry": 86400}]}' http://<api-server-hostname-or-ip>:8008/workers.set_runtime_properties
```
curl --user <key>:<secret> --header "Content-Type: application/json" --data '{"worker":"<worker_id>","runtime_properties":[{"key": "force", "value": "on", "expiry": 86400}]}' http://<api-server-hostname-or-ip>:8008/workers.set_runtime_properties
```
### Overriding Worker Schedules Using Queue Tags
Queue tags override command line and runtime properties. The queue tags are the following:
:::caution
:::warning
Use only one of these properties
:::