Skip to content

[HealthAPI] Warn when max shards per node setting is reached #91119

@andreidan

Description

@andreidan

The Health API should signal when a deployment is closing the max_shards_per_node limit.

Due to this does not relate to the shard_availability information, it should be a new indicator.

The settings keys are cluster.max_shards_per_node & cluster.max_shards_per_node.frozen

Thresholds:

  • Yellow: room for < 10 shards
  • Red: room for < 5 shards

Tasks

Open questions:

  • What capabilities will be affected by this indicator?
  • Should it be checked only for hot and content tiers?
    • We'll use the current checkShards method, which it's already considering the frozen or regular tiers.

Related

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions