-
Notifications
You must be signed in to change notification settings - Fork 550
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
How to deploy multiple Prometheus-adapters in the same k8s cluster? #367
Comments
Hi @UrmsOne, If you want to use the custom metrics API, you can only do so via the Why do you need 2 instances in the first place? Couldn't you achieve the same result with only one prometheus-adapter instance serving both your knative metrics and your gpu metrics? You could then select the metrics you want to autoscale on directly in your HPA configurations. |
@dgrisonnet Thanks for your reply. My scenario is that two components use the same apiservice. One is the knative application deployed by kubeflow, and the other is Prometheus-adapter. The knative application already exists in my cluster, which is occupies |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
@UrmsOne you can't do that yet, but this is being investigated in kubernetes-sigs/custom-metrics-apiserver#70. /remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs 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 and PRs. This bot triages issues and PRs 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 and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. 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/test-infra repository. |
Hi. I would like to ask whether it is supported to deploy multiple Prometheus-adapters in the same cluster.
In my cluster, the knative has defined an apiservice named
custom.metrics.k8s.io/v1beta1
for HPA.I realized GPU metrics collection through prometheus-exporter, and now I want to deploy a Prometheus-adapter to achieve HPA
for GPU idle rate. How should I deal with related applications?I could make sure knative applications and
Prometheus-adapter can run normally.
I try to modify the groupversion to
v1beta1.gpu.custom.metrics.k8s.io
, but it doesn't work properly.Thanks for helping me to solve this.
The text was updated successfully, but these errors were encountered: