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

Getting " no matches for kind "TriggerAuthentication" in version "keda.k8s.io/v1alpha1" ensure CRDs are installed first" while spplying scaledobject for Keda #5791

Open
KasyapG opened this issue May 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@KasyapG
Copy link

KasyapG commented May 9, 2024

Report

We are trying apply a scaledobject for scaling based on HTTP requests (using Azure managed prometheus). While doing kubectl apply -f <scaledobject.yaml> getting the below mentioned error.

"resource mapping not found for name: "azure-managed-prometheus-trigger-auth" namespace: "60486a51-7039-4f45-b1be-a0069c86f864" from "test-sample-keda-hpa-azm-prom.yaml": no matches for kind "TriggerAuthentication" in version "keda.k8s.io/v1alpha1"
ensure CRDs are installed first
resource mapping not found for name: "azure-managed-prometheus-scaler" namespace: "60486a51-7039-4f45-b1be-a0069c86f864" from "test-sample-keda-hpa-azm-prom.yaml": no matches for kind "ScaledObject" in version "keda.k08s.io/v1alpha1"
ensure CRDs are installed first"

Could you please let me know what is being missed here.

Regards,
Kasyap G

Expected Behavior

Scaledobject should be applied without any error.

Actual Behavior

Getting the error mentioned above.

Steps to Reproduce the Problem

  1. Running Kubectl apply -f <> command.

Logs from KEDA operator

image

KEDA Version

2.11.0

Kubernetes Version

1.27

Platform

Microsoft Azure

Scaler Details

Prometheus

Anything else?

No response

@KasyapG KasyapG added the bug Something isn't working label May 9, 2024
@JorTurFer
Copy link
Member

Hello,
Could you share the output of this command?

kubectl get crd | grep keda

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

2 participants