-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bitnami/thanos] receiveDistributor is not set up to work properly in the chart #25991
Comments
Looking at this more, I'm puzzled how |
As i understand with this config two services is created then you use like this "thanos-receive.observability.svc.cluster.local" for prometheus remote write.
|
I understand now that the chart does work properly, it's just confusing because the service and ingress of receive flip to point at receiveDistributor when you've enabled dual mode. Still, I would appreciate a separate service for the ingesters in this case, because as-is you can't monitor the ingesters in the chart, because there's only one service and it points at receiveDistributor. For instance, I just added this service purely for metrics. I suggest the chart allows you to do this, so we don't need to manage it out of band: apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: receive
app.kubernetes.io/instance: thanos-bitnami-receiver
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: thanos
app.kubernetes.io/version: 0.35.0
prometheus-operator/monitor: "true"
name: thanos-bitnami-receiver-receive-metrics
namespace: thanos-bitnami
spec:
ports:
- name: http
port: 10902
protocol: TCP
targetPort: http
selector:
app.kubernetes.io/component: receive
app.kubernetes.io/instance: thanos-bitnami-receiver
app.kubernetes.io/name: thanos |
Name and Version
bitnami/thanos 15.4.6
What is the problem this feature will solve?
It's a good idea to run Thanos receive in "dual" mode in this chart, where there is a fleet of distributors and a fleet of ingesters. Unfortunately, the chart isn't set up right for this though, because it doesn't allow for a service or ingress under
receiveDistributor
.I'm assuming that when you're using the
receiveDistributor
, your Prometheus remote write instances should be pointed at an ingress that routes traffic toreceiveDistributor
. Therefore, I think these two components are necessary.What is the feature you are proposing to solve the problem?
Add a service that's on by default. Add an ingress that you can turn on.
What alternatives have you considered?
You can always create services and ingresses out of band of the chart.
The text was updated successfully, but these errors were encountered: