[gprd] replace max_size (deprecated) with max_primary_shard_size and update ILM allocation settings

This is a workaround for !4989 (merged) as our current ES version (7.16.1) requires one of include/exclude/require if you specify any allocation settings (eg. total_shards_per_node).

We've triggered an upgrade to 7.17.6, which is in progress, and with this updated version we don't need to specify any of include/exclude/require. Once we've upgraded, I'll file a small follow-up MR to remove it.

Related: gitlab-com/gl-infra/production#7785 (closed)

Merge request reports

Loading