custom-metrics-apiserver
k8s-prometheus-adapter
custom-metrics-apiserver | k8s-prometheus-adapter | |
---|---|---|
1 | 13 | |
487 | 1,834 | |
2.3% | 1.1% | |
5.9 | 6.3 | |
about 22 hours ago | 15 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.
custom-metrics-apiserver
-
Request-based autoscaling in Kubernetes: scaling to zero
KEDA is an event-driven autoscaler that implements the Custom Metrics API.
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?
metrics-server - Scalable and efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines. [Moved to: https://github.com/kubernetes-sigs/metrics-server]
keda - KEDA is a Kubernetes-based Event Driven Autoscaling component. It provides event driven scale for any container running in Kubernetes
metrics-server - Scalable and efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines.
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
cluster-proportional-autoscaler - Kubernetes Cluster Proportional Autoscaler Container
spring-auto-scaling-k8
prometheus - The Prometheus monitoring system and time series database.
helm-charts - Prometheus community Helm charts
metrics-on-kind - Custom and external metrics setup on KinD cluster with Prometheus Operator and Prometheus Adapter
prometheus-exporter - A Prometheus exporter for scraping Spacelift metrics.
autoscaler - Autoscaling components for Kubernetes
predictive-horizontal-pod-autoscaler - Horizontal Pod Autoscaler built with predictive abilities using statistical models