Limit number of shards on a particular Elasticsearch node

What version are you on?