Menu
This is documentation for the next version of Mimir. For the latest stable release, go to the latest version.
Grafana Mimir
Operator and user guide
Deploy on Kubernetes
Deploy with Jsonnet and Tanka
Migrate query-scheduler to ring-based service discovery
Open source
Migrate query-scheduler from DNS-based to ring-based service discovery
The query-scheduler supports two service discovery mechanisms:
To migrate the query-scheduler from DNS-based to ring-based service discovery when your Mimir cluster is deployed using Jsonnet:
- Configure the query-scheduler instances to join a ring, but keep the querier and query-frontend instances discovering query-schedulers via DNS:
{ _config+:: { query_scheduler_service_discovery_mode: 'ring', query_scheduler_service_discovery_ring_read_path_enabled: false, } }
- Wait until query-scheduler changes have been applied.
- Open the query-scheduler ring status page and ensure all query-scheduler instances are registered to the ring.
- Configure query-frontend and querier instances to discover query-schedulers via the ring:
{ _config+:: { query_scheduler_service_discovery_mode: 'ring', query_scheduler_service_discovery_ring_read_path_enabled: true, } }
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles: