prometheus-operator
k8s-prometheus-adapter
prometheus-operator | k8s-prometheus-adapter | |
---|---|---|
39 | 13 | |
8,751 | 1,824 | |
0.7% | 0.5% | |
9.7 | 6.2 | |
5 days ago | 12 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prometheus-operator
-
Smart-Cash project -Adding monitoring to EKS using Prometheus operator
The project repository for Prometheus-operator can be found here, The repo defines the CRDs and the controller. You can follow this documentation for the installation. which will require the creation of metrics exporters, node exporters, scrape configurations, etc.
-
Ask HN: Best solution for homelab service monitoring?
Personally I use kubernetes, k3s is kind of lightweight, with the Prometheus operator.
https://k3s.io/
https://prometheus-operator.dev/
Kubernetes is not for everyone and is far from perfect but you already use Docker and you seem to seek many features offered by Kubernetes.
-
Opinions on using the Prometheus Operator vs. installing yourself?
I see that the operator is a community-run project. Does anybody have any experience (positive or negative) on running the operator itself? I wonder if it is more for multi-tenant Prometheus. For single tenant Prometheus collection, I guess the big gain is abstracting scrape config into ServiceMonitor and PodMonitor resources? Is there anything else that this makes much better?
-
Prometheus node exporter and cadvisor to send metrics to central prometheus cluster
But in all honesty if you’re on k8s you’re probably best served by the Prometheus operator. It’ll give you all that and more, easily.
-
Overcommitted cpu
Try some monitoring.
- What's your favorite monitoring stack?
-
Writing a Kubernetes Operator
It’s a common pattern [1] how else can users override the child objects you’re controller creates?
1 https://github.com/prometheus-operator/prometheus-operator/b...
-
Modify Prometheus rules when installed via Helm chart
The Prometheus operator is this one https://github.com/prometheus-operator/prometheus-operator
-
How do I stop my apps from being killed in k8s?
At a minimum, you want to look at your metrics using the Prometheus Operator. You can write alerts for resource requests.
-
Spring Boot monitoring with Prometheus Operator
Prometheus Operator is an independent project from the Prometheus project. I know, it can lead to confusion. In the official README you can find short comparison. Basically, Prometheus Operator does what an operator should do - provides Kubernetes native deployment and management of Prometheus and related monitoring components like Grafana or Alert Manager.
k8s-prometheus-adapter
-
Upgrading Hundreds of Kubernetes Clusters
The last one is mostly an observability stack with Prometheus, Metric server, and Prometheus adapter to have excellent insights into what is happening on the cluster. You can reuse the same stack for autoscaling by repurposing all the data collected for monitoring.
-
Helm: Is there a way to access templates of a sibling subchart
I'm deploying kube-prometheus-stack along with prometheus-adapter in my monitoring stack for custom metrics.
-
Deploy prometheus-adapter with kube-prometheus-stack monitoring stack?
I would like to see if anyone deployed prometheus-adapter and kube-prometheus-stack together for monitoring?
-
Horizontal Pod Autoscale
For us it is saturation of CPU and thread pool. It's implemented by exposing metrics of the thread pool to prometheus and turning that into a custom metric. (see) Looking at scaling based on job queue length next.
-
Steps to write own adaptor
If you are using Prometheus or kube-prometheus-stack, you will need https://github.com/kubernetes-sigs/prometheus-adapter We are using it to scale our Pods based on number of messages in RabbitMQ queue. There also a walkthrough on https://github.com/kubernetes-sigs/prometheus-adapter/blob/master/docs/walkthrough.md
-
Monitoring Your Spacelift Account via Prometheus
A prometheus-adapter installation.
-
Advanced Features of Kubernetes' Horizontal Pod Autoscaler
Prometheus adapter to get custom/external metrics from Prometheus instance into Kubernetes API.
-
Pod spread by percentage
I never tested this but you have customized metrics API if the value % is available should work from my point of view Check this here https://github.com/kubernetes-sigs/prometheus-adapter
-
Practical Introduction to Kubernetes Autoscaling Tools with Linode Kubernetes Engine
CPU and memory might not be the right metrics for your application to make scaling decisions. In such cases, you can use HPA (or VPA) with custom metrics as an alternative. To use custom metrics for autoscaling, you can use a custom metrics adapter instead of the Kubernetes Metrics Server. Popular custom metrics adapters are the Prometheus adapter and Kubernetes Event-Driven Autoscaler (KEDA).
- How to scale containers that are unrelated to physical traits like CPU or Memory?
What are some alternatives?
kube-prometheus - Use Prometheus to monitor Kubernetes and applications running on Kubernetes
keda - KEDA is a Kubernetes-based Event Driven Autoscaling component. It provides event driven scale for any container running in Kubernetes
mimir - Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.
metrics-server - Scalable and efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines.
kubernetes-mixin - A set of Grafana dashboards and Prometheus alerts for Kubernetes.
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
kuberhealthy - A Kubernetes operator for running synthetic checks as pods. Works great with Prometheus!
cluster-proportional-autoscaler - Kubernetes Cluster Proportional Autoscaler Container
helm-charts - Prometheus community Helm charts
spring-auto-scaling-k8
prometheus - The Prometheus monitoring system and time series database.