Cluster configuration

Last updated:2022-01-11 13:43:17

  1. Log in to the Kingsoft Cloud Elasticsearch Service (KES) console.

  2. In the KES cluster list, find the cluster that you want to configure. Then, choose Management > Cluster Configuration in the Operation column to go to the Cluster Configuration page. Alternatively, go to the details page of the cluster and click Cluster Configuration in the left navigation pane to go to the Cluster Configuration page.

You can customize the configuration for the KES cluster and set parameters for each node group based on service needs. You can modify the configuration of only one node group at a time.
20210513_112105.png

YML Configuration

  • The current configuration is displayed by default. All configuration items that are not dimmed can be modified. You must restart the cluster to make the modification take effect.

  • Configuration items with the optimal option selected are dimmed. If you want to modify these configuration items, submit a ticket.

  • You must configure a separate YAML file for each node group. You can change the YAML files of multiple node groups at a time and then restart the cluster.

Default configuration items

Item Default value Valid value Description Version
action.auto_create_index true true, false, or an expression, such as twitter, index10, -index1*, and +ind* Whether an index can be automatically created. 5.x or 6.x
indices.breaker.fielddata.limit 15% Percentage, such as 60% The limit on the maximum amount of heap memory occupied by fielddata. 5.x or 6.x
indices.breaker.request.limit 15% Percentage, such as 60% The limit on the maximum amount of heap memory occupied by requests. 5.x or 6.x
indices.breaker.total.limit 20% Percentage, such as 70% The limit on the total memory occupied by field data and requests. 5.x or 6.x
indices.fielddata.cache.size 10% Percentage or value in bytes, such as 10% or 1GB The limit on the maximum heap memory space occupied by the fielddata cache on a node. 5.x or 6.x
indices.query.bool.max_clause_count 1024 Integer The maximum number of clauses allowed in a Boolean query. 5.x or 6.x
Indices.recovery.max_bytes_per_sec 40mb Value in bytes, such as 100mb The maximum inbound and outbound traffic of a single node. A large value may affect the cluster stability. 5.x or 6.x

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈