Our great sponsors
-
prometheus-operator
Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I'm currently running into issues implementing properly configured Prometheus in order to access Node Exporter metrics. The current setup consists of Kubernetes along with a VM in the same Azure environment (The kubernetes pods can ping the VM). I have followed the guide: https://prometheus.io/docs/guides/node-exporter/ - But can't seem to implement the following in kubernetes: " Once Prometheus is installed you can start it up, using the --config.file flag to point to the Prometheus configuration that you created above:./prometheus --config.file=./prometheus.yml "Using helm kube-prometheus-stack: https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack I have tried additionalScrapeConfigs without any luck. Additionally, I have tried the following guide (https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/additional-scrape-config.md) but get stuck at the same point as before: " Finally, reference this additional configuration in your prometheus.yaml CRD."Where can I edit the prometheus.yaml after the installation or before?
I'm currently running into issues implementing properly configured Prometheus in order to access Node Exporter metrics. The current setup consists of Kubernetes along with a VM in the same Azure environment (The kubernetes pods can ping the VM). I have followed the guide: https://prometheus.io/docs/guides/node-exporter/ - But can't seem to implement the following in kubernetes: " Once Prometheus is installed you can start it up, using the --config.file flag to point to the Prometheus configuration that you created above:./prometheus --config.file=./prometheus.yml "Using helm kube-prometheus-stack: https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack I have tried additionalScrapeConfigs without any luck. Additionally, I have tried the following guide (https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/additional-scrape-config.md) but get stuck at the same point as before: " Finally, reference this additional configuration in your prometheus.yaml CRD."Where can I edit the prometheus.yaml after the installation or before?
Related posts
- K8S - using Prometheus to monitor another prometheus instance in secure way
- EKS cluster Monitoring for AWS Fargate with Prometheus and managed Grafana
- How to silence Prometheus Alertmanager using config files?
- Why kube-prometheus-stack uses private ips instead of hostnames?
- You get what you Measure: Understanding your applications health with Grafana, Loki and Prometheus