unified-storage: setup distributor module option A (#104737)

* setup distributor module

* move lifecycler into resource server provider

* remove ring/client pool setup from distributor module and use the same ring/client pool between storage server module and distributor module

* implement resourcestore server methods

* make healthcheck fail if ring is not running
This commit is contained in:
Will Assis
2025-05-19 07:46:03 -04:00
committed by GitHub
parent 98c9bc5028
commit bdae4424e8
17 changed files with 458 additions and 541 deletions
+2
View File
@@ -8,6 +8,7 @@ const (
MemberlistKV string = "memberlistkv"
GrafanaAPIServer string = "grafana-apiserver"
StorageRing string = "storage-ring"
Distributor string = "distributor"
StorageServer string = "storage-server"
ZanzanaServer string = "zanzana-server"
InstrumentationServer string = "instrumentation-server"
@@ -19,6 +20,7 @@ var dependencyMap = map[string][]string{
GrafanaAPIServer: {InstrumentationServer},
StorageServer: {InstrumentationServer, StorageRing},
ZanzanaServer: {InstrumentationServer},
Distributor: {InstrumentationServer, MemberlistKV, StorageRing},
Core: {},
All: {Core},
FrontendServer: {},