-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for multiple metrics APIs #4261
Comments
What other issue? A hyperlink would be handy. |
KEP title suggestion: Support for multiple metrics APIs (the “add” is implied) |
f**k me, copy paste issue 🤦 , updating |
/sig autoscaling |
https://www.doit.com/kubernetes-custom-metric-autoscaling-almost-great/ |
#2580 (comment) stated:
Is that still true? |
@dgrisonnet ? You are member of SIG-Instrumentation so maybe you can help us. As this is a KEP for SIG-Autoscaling I think that it doesn't apply anymore |
It was never correct / it was an incorrect conclusion from the beginning IMO. Sadly many community repos like KEDA.sh are doing hacky workarounds like supporting 60 Scalers & duplicating functionality provided by other tools to work around the limitation, but that's not a good solution as it blocks other projects like knative, and prevents reusable IaC, since only 1 custom metric server is supported atm, rather than multiple, and some kind of namespace like functionality to allow multiple custom metric servers to exist is required to allow reusable IaC that won't interfere with / be blocked from working if another kubernetes app is installed. |
@neoakris I've read that article, and I actually don't see what part of Kubernetes' control plane needs to change to make this happen. An out-of-tree aggregating proxy could work for the solution I have in mind, and it'd align with what the article hopes for. Also, an out-of-tree proxy would be much, much simpler than extending APIService or the front proxy layer to implement that aggregation within the control plane itself. So, I like the idea, but I'm not convinced that the obstacle is the lack of a signed-off KEP. I think it's just waiting on a supply of contributor capacity to make the thing we'd need. |
The problem of adding it as an external proxy is that it doesn't allow migrations. @dgrisonnet and I were thinking about that option as first option, but how will you migrate already existing clusters? If you are already using something via those apis, you have to drop them during the migration, which can be not acceptable in some scenarios. For example, there are KEDA users with more than 1k ScaledObjects, losing the autoscaling on those scenarios is simply not acceptable as there isn't any progressive migration path, you have to drop KEDA scaling, set the proxy, and proxy the request to KEDA. If something goes wrong, you could have several outages and this risk can block large users
@sftim , It's the current obstacle indeed! As this is required for us in KEDA, I'm already working on a PR based on the proposed KEP, assuming that maybe I work for literally nothing if the KEP is rejected or the design changes dramatically. A signed KEP with consensus about the approach would be nice |
Can we shift this to a Slack discussion @JorTurFer ? I can see a way to migrate; maybe there is an obstacle, but a KEP issue is not the place for this kind of detailed / early design work. |
sure!, I've written by slack (in Kubernetes workspace) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Enhancement Description
k/enhancements
) update PR(s):k/k
) update PR(s):k/website
) update PR(s):The text was updated successfully, but these errors were encountered: