Class ShardsCapacityHealthIndicatorService

java.lang.Object
org.elasticsearch.health.node.ShardsCapacityHealthIndicatorService
All Implemented Interfaces:
HealthIndicatorService

public class ShardsCapacityHealthIndicatorService extends Object implements HealthIndicatorService
This indicator reports health data about the shard capacity across the cluster.

The indicator will report: * RED when there's room for less than 5 shards (either data or frozen nodes) * YELLOW when there's room for less than 10 shards (either data or frozen nodes) * GREEN otherwise

Although the `max_shard_per_node(.frozen)?` information is scoped by Node, we use the information from master because there is where the available room for new shards is checked before creating new indices.