Questions tagged [prometheus-operator]
Kubernetes operator to create/configure/manage Prometheus clusters atop Kubernetes.
prometheus-operator
396
questions
0
votes
0
answers
18
views
How to specify resources to prometheusOperator and prometheus-node-exporter
We are using kube-prometheus-stack and are unsure how to specify resources to prometheusOperator and prometheus-node-exporter.
I tried the below yaml, but I am unsure if it is the valid syntax.
...
0
votes
0
answers
24
views
how to configure Grafana alertmanager datasource with kube-prometheus-stack helm deployment
I am using the prometheus alertmanager that gets deployed by the kube-prometheus-stack helm deployment. Now I want to connect Grafana and tried to configure a alertmanager datasource what fails with ...
0
votes
0
answers
16
views
TargetAllocator distributing load to wrong collectors
TA configuration -
collector_selector:
matchlabels:
app.kubernetes.io/component: opentelemetry-collector
app.kubernetes.io/instance: namespace.app-metrics
app.kubernetes.io/managed-by: opentelemetry-...
0
votes
0
answers
32
views
How to define a HPA rule for a custom metric of fractional value?
I have a custom metric which is a state metric of fractional value. It is ranged from 0 to 1, e.g. memory utilization, 1 means it is fully utilized. How can we write its HPA yaml file?
I see there is ...
0
votes
2
answers
164
views
Loki implementation on EKS crash loop backoff error
For the implementation of loki & promtail onto EKS cluster,
i have used 2 charts to implement this task,
https://grafana.github.io/loki/charts to add loki . But this repository doesnot exists (...
0
votes
0
answers
98
views
Google managed prometheus breaks when Application started with TLS in GKE
I have an app running on GKE, I enable Google managed prometheus, all is working.
I stop the app, start it with TLS for external communications, and the monitoring service gives error about not being ...
0
votes
0
answers
219
views
How to configure thanos-sidecar of prometheus -k8s through cluster-monitoring-operator in openshift-monitoring namespace of OKD 4.14
I manage an Openshift OKD 4.14 cluster.
It comes with a built-in Prometheus CRD:
It comes with a built-in Prometheus CRD
This Prometheus CRD spins up a statefulset:
enter image description here
I need ...
0
votes
2
answers
438
views
Is there a way to set up alert with Prometheus storage retention size
Is there a way to set a prometheus alert on storage.tsdb.retention.size, lets say if the retention size has been hit, i want an alert sent out.
0
votes
1
answer
493
views
prometheus-community/helm-charts/prometheus Helm chart in agent mode: Configuring "rule_files"
I deployed the prometheus-community/helm-charts/prometheus Helm chart in agent mode to my Kubernetes cluster. However, the prometheus-server pod is stuck in "CrashLoopBackOff" with the ...
0
votes
0
answers
138
views
How to query Kubernetes node CPU levels
I have the following PromQL query to get the CPU percentages of the nodes in my Kubernetes cluster.
100 - (avg by (instance) (rate(node_cpu_seconds_total{mode!="idle|wait|iowait"}[5m])) * ...
1
vote
0
answers
176
views
thanos query how to connect a TLS endpoint and a noTLS endpoint at the same time
thanos query support to specify multi endpoints, like
- --store=dnssrv+_grpc._tcp.prometheus-operated
- --store=192.168.1.1:443
I can set grpc-client-* flags to connect 192.168.1.1:443, but I can't ...
0
votes
0
answers
90
views
Prometheus query to visualize "Cluster Node CPU Utilization" - many-to-many matching not allowed
I am trying to query the Cluster Node CPU Utilization for my Kubernetes cluster using the prometheus. I am using the following query
sum by (kubernetes_node) (rate(node_cpu_seconds_total{mode!~"...
0
votes
0
answers
197
views
How can I get high availability for an AlertManager that is behind Google Private Service Connect on GKE?
I have two Kubernetes GCP clusters, and I am using Prometheus operator.
I am using Google Private Service Connect (PSC) to connect both clusters, and this part is working. Prometheus, which is running ...
1
vote
1
answer
1k
views
Why can't prometheus blackbox exporter verify a tls endpoints self signed certificate? Details below
We have an openshift cluster in which the prometheus operator monitoring stack is installed. We would like to probe the actuator/health endpoints of Spring Boot applications using blackbox exporter.
...
0
votes
0
answers
72
views
Trouble with Prometheus relabel_configs Regex for Matching Specific URL Patterns
I'm configuring Prometheus Operator and encountering an issue with relabel_configs in my setup. I need to match URLs based on specific conditions and relabel them accordingly, but I'm running into a ...