Skip to content
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

Install fails because v1beta1.external.metrics.k8s.io it's already installed #2093

Closed
ordonezf opened this issue Sep 7, 2021 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@ordonezf
Copy link

ordonezf commented Sep 7, 2021

Report

Running helm install keda kedacore/keda --namespace keda fails with error

Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: kind: APIService, namespace: , name: v1beta1.external.metrics.k8s.io

Expected Behavior

helm install keda kedacore/keda --namespace keda installs keda on cluster

Actual Behavior

There is an error because v1beta1.external.metrics.k8s.io already exists in our cluster since it's being installed by the datadog cluster agent

Steps to Reproduce the Problem

  1. Install datadog cluster agent: https://docs.datadoghq.com/agent/cluster_agent/setup/?tab=helm
  2. Try to install keda helm install keda kedacore/keda --namespace keda
  3. Get an error

Logs from KEDA operator

example

KEDA Version

2.4.0

Kubernetes Version

1.19

Platform

Amazon Web Services

Scaler Details

Postgres

Anything else?

No response

@ordonezf ordonezf added the bug Something isn't working label Sep 7, 2021
@JorTurFer
Copy link
Member

Could this be related with this other issue?
kubernetes-sigs/custom-metrics-apiserver#70

@ordonezf
Copy link
Author

ordonezf commented Sep 7, 2021

I didn't think to look there 😅
It seems to be the exact same problem. Do you have any idea if sharing the same resource between datadog and keda could be harmful?

@JorTurFer
Copy link
Member

No problem!
Honestly, I haven't got any idea about it but maybe some one comment with extra information

@zroubalik
Copy link
Member

Duplicate of #470

@zroubalik zroubalik marked this as a duplicate of #470 Sep 10, 2021
@zroubalik
Copy link
Member

Unfortunately there could be only one instance of v1beta1.external.metrics.k8s.io in the cluster 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants