kvass
kvass copied to clipboard
Adopt for bare-metal setups
Hello! Thank you for your project. I was thinking about how much effort it would be to make this suitable for bare-metal setups as well. Essentially, it should perform all of the same things except for the automation of scaling down/up. The goal is to have an equal load over all Prometheus instances. Do you think this would make sense for your project? If yes maybe I could contribute.
Hi 😊 , thank you for your advice! We already support a simple static shards way for bare-metal now.
User can provide a shards config for Coordinator to indicate shards information.
- add
--shard.type=staticand--shard.static-file=xxx.yamlforCoordinator - add
--config.file=""forSidecarto get config file fromCoordiantor(no local config file needed)
but this feature is kind of weak now
- shards can only use the same max series
- scaling down/up event is unavailable.
I think that we can support http way, which use a shards server for fetch shards information, and deal with scaling down/up event.
I see. I'll try it out and come back with any comments/suggestions. :+1: