Closed yeya24 closed 3 years ago
Nice!!! One questions: Can we reuse the same service and match via labels?
Hi @metalmatze, thank you for the review. Now I have one service per shard. Do you mean I need to use one service for all statefulsets? Can you explain how would it work via label matching?
Signed-off-by: ben.ye ben.ye@bytedance.com
Changes
Fixes #231
Similar to the store shards, I add shards for compactors. The difference is that store gateway is sharded by
__block_id
, but compactor needs to be sharded by the external labels of the blocks (e.g. cluster). This should be configured by users.Verification