Skip to content

[ML] Add total memory available to ML cluster-wide to ML info response #64225

Closed
@droberts195

Description

@droberts195

It is useful to know the total amount of native memory ML is allowed to use cluster-wide at a given time, for example when planning which subset of a large number of security jobs to enabled.

It is possible to calculate the quantity in a client given knowledge of the node attributes and cluster settings. However, this breaches encapsulation by duplicating a formula that is used in Elasticsearch code, and runs the risk that client and server diverge in the future.

Therefore, it would be better if the result of the calculation done in Elasticsearch code was made available as one of the outputs of the ML info endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions