-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
scaledjobs.keda.sh CRD is too long. #4740
Comments
@iKubernetes does |
It works. |
Same happens with the helm chart, how do we force server-side with that? |
Render the chart via |
In case anyone comes to this thread and they're using ArgoCD (like me), you can adjust the sync policy using:
|
@sondrelg thank you! Google also sent me here after upgrading from keda 2.6 on some new clusters and stumbling upon this error. For reference, here's what the relevant part of my config now looks like:
Docs on server side apply are here: https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#server-side-apply |
Instead of making changes at the ArgoCD application level, I found that adding the annotation for the CRD did the trick, and it worked perfectly
crds:
additionalAnnotations:
argocd.argoproj.io/sync-options: ServerSideApply=true |
Report
When I install KEDA with kubectl, it returns a message like this:
The CustomResourceDefinition "scaledjobs.keda.sh" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
Expected Behavior
customresourcedefinition.apiextensions.k8s.io/scaledjobs.keda.sh created
Actual Behavior
The CustomResourceDefinition "scaledjobs.keda.sh" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.11.0
Kubernetes Version
1.27.3
Platform
kubeadm
Anything else?
No response
The text was updated successfully, but these errors were encountered: