-
Notifications
You must be signed in to change notification settings - Fork 220
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
Error no matches for kind ScaledObject in version keda.sh/v1alpha1 #100
Comments
Thanks for the report - How did you install KEDA? |
Seems like your CRDs are not installed. What |
I did the installation via Charts at the startup of the Cluster by ArgoCD. I made a clone of this project https://github.com/kedacore/charts and added it to the Argo structure to do the installation. This kubectl get crd command | grep keda returns nothing. |
So your CRDs are not installed. You need to install them in the cluster in order to use KEDA. |
So as I am using ArgoCD this installation would be done through Charts, in the repository that I cloned has the following .yaml for installing the CRDS: |
yes, those needed to be installed in the cluster. Not sure how does the ArgoCD installation work, but it is probably missing this part. |
So this is exactly what I'm trying to do to install Keda. This error is mentioned in the installation. |
We don't support installation via ArgoCD, it is not something that has been tested, so my guess that something is not correct there. Could you try to install KEDA directly via one of our supported methods? This should work and install the CRD correctly. |
So argocd is installing via helm2 as |
Thanks @allenmunC1. I will try with this PR. |
@allenmunC1 I used this fix, but I found a new problem. The keda-operator is reporting the following error: E1119 20:10:04.006257 1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125: Failed to list v |
@Fel3180 I've noticed you had issues installing through Helm 2 in another issue, is this the same case here? Because that might be the root cause of your problem? |
Exactly @tomkerkhove, I'm having trouble installing with Helm 2. Would you have any solution for this? Knowing that I can't update the helm in my cluster. |
Unfortunately you'll have to stick with KEDA 1.5 fo now then. We have removed support for Helm 2 in KEDA 2.0 |
@Fel3180 you can always install KEDA via yaml file: https://keda.sh/docs/2.0/deploy/#yaml |
Ok @zroubalik, I will try this option. |
Did it work out? |
Hi, @tomkerkhove, did not work, I'm trying install a version 1.5. |
Same issue as in #100 (comment)? |
Yes, that it's, because I'm using Helm2. |
@tomkerkhove I'm having this problem installing KEDA.
|
@zroubalik have you seen this before? |
Thanks @tomkerkhove , my team solved this problem, it was a bug in Argo, I will close the issue, thanks. |
@Fel3180 can you please describe how to solve the problem. |
+1 |
I am trying to install KEDA through ArgoCD. Am getting the below error.
Specifications
KEDA Version: 2.0
Kubernetes Version: 1.18
The text was updated successfully, but these errors were encountered: