Open grigassukys opened 3 months ago
You should be able to patch the Prometheus resource controlled by the MonitoringStack resource following this page: https://github.com/rhobs/observability-operator/blob/main/docs/user-guides/server-side-apply.md
Additionally, in our case we don't even need thanos-sidecar and would like to disable it completely like we can disable "alertmanager".
The reason why COO automatically deploys a Thanos sidecar is to support integration with the ThanosQuerier.
Hello,
We have an issue with Cluster Observability Operator, in particular when creating MonitoringStack. For example when using this yaml:
The Monitoring Stack is created and in Resources tab we can see:
The problem is, that prometheus pods cannot start, because we get the following error: "create Pod prometheus-test-monitoring-stack-0 in StatefulSet prometheus-test-monitoring-stack failed error: pods "prometheus-test-monitoring-stack-0" is forbidden: failed quota: test-monitoring-quota-compute-resources: must specify limits.cpu for: thanos-sidecar; limits.memory for: thanos-sidecar; requests.cpu for: thanos-sidecar; requests.memory for: thanos-sidecar"
We cannot find any documentation/instructions/guide on how to setup the limits for thanos-sidecar, because changing "resources" in the monitoringstack yaml only changes the limits for PROMETHEUS pods, but not thanos-sidecar.
Additionally, in our case we don't even need thanos-sidecar and would like to disable it completely like we can disable "alertmanager".
Thank you!