Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add disk free space cluster settings #7799

Merged
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions _ml-commons-plugin/cluster-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,23 @@ plugins.ml_commons.jvm_heap_memory_threshold: 85
- Default value: 85
- Value range: [0, 100]

## Set disk free space threshold
kolchfa-aws marked this conversation as resolved.
Show resolved Hide resolved

Sets a disk circuit breaker that checks disk usage before running an ML task. If the disk free space exceeds the threshold, OpenSearch triggers a circuit breaker and throws an exception to maintain optimal performance.
kolchfa-aws marked this conversation as resolved.
Show resolved Hide resolved

Values are in byte unit and default value is 5G, to disable this circuit breaker, set the value to -1.
kolchfa-aws marked this conversation as resolved.
Show resolved Hide resolved

### Setting

```
plugins.ml_commons.disk_free_space_threshold: 5G
```

### Values

- Default value: 5G
- Value range: [-1, Long.MAX_VALUE]

## Exclude node names

Use this setting to specify the names of nodes on which you don't want to run ML tasks. The value should be a valid node name or a comma-separated node name list.
Expand Down
Loading