Removing Unhealthy Ingester Instances from the Ring
While fetching logs from the Grafana UI, if you encounter an error indicating an excess of unhealthy instances in the ring, please adhere to the following steps to rectify the issue:
How to remove unhealthy Ingester instances from the Ring?
-
The first step is to download the kubeconfig file.
-
Next, export the credentials using the below command:
export KUBECONFIG=<PATH TO YOUR KUBECONFIG>
-
Proceed to get the Ingester Service using the following command:
kubectl get service -n facets
-
Now, port forward the Ingester Service using the following command:
kubectl port-forward svc/facets-loki-loki-distributed-ingester -n facets 3100:3100
-
Open your browser and access the UI at localhost:3100/ring.
-
Here, you will be able to view the unhealthy instances.
-
Click Forget beside the unhealthy instance to remove it.
Updated 7 months ago