Comments (2)
As I understand it, these two concepts are different in the way that PodMonitor
is "just" a way to configure prometheus to scrape metrics from pods, while Pod Collector
is a way of scraping metrics ONLY for the purpose of autoscaling with the Kubernetes HPA.
Right now Pod Collector
only supports JSON, so you can't use it for a pod that exposes metrics in prometheus format.
Assuming the Pod Collector
did support prometheus format, then the difference would be that you collect the metrics directly into the Kubernetes HPA infrastructure and let Kubernetes HPA average the metrics across all pods and autoscale based on this. This way you could omit Prometheus if you don't need it for other things.
However, using the PodMonitor
for scraping metrics you could aggregate the metrics in prometheus and do much more advanced queries. Queries which you could scale on using the Prometheus Collector
.
Hope it make sense.
from kube-metrics-adapter.
I'll close this issue as "answered" :)
from kube-metrics-adapter.
Related Issues (20)
- Helm chart should be available in a chart repository HOT 8
- [Doc Question] May I config multiple type of collector in a single HPA HOT 2
- Is it possible to retrieve request per second to pod without using prometheus? HOT 4
- Parameters consultation
- Missing Documentation for kubernetes compatibility matrix HOT 1
- Update k8s autoscaling dependency to v2 version to support Kubernetes 1.26+ HOT 1
- Metric Adapter is taking metrics from cache HOT 1
- Is that feasible to run the adapter into a namespace different from `kube-system`? HOT 3
- Make log level configurable
- Docker image for arm64 not published HOT 1
- HPA metric got stuck at a random value and not scaling down after reaching max replica count HOT 12
- No latest tag exists for ghcr.io repo
- Error: the server could not find the requested resource HOT 1
- feature: add Argo Rollouts support
- install fail
- currentMetrics is null for external metrics hpa HOT 17
- Current helm charts does not work HOT 2
- Latest version v0.2.3 not found HOT 1
- Limit sample size for the pod collector HOT 1
- context canceled error when collecting metrics from thanos-querier
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kube-metrics-adapter.