I'm unable to use the behavior field with KEDA's ScaledObject. Despite following the documentation and ensuring that KEDA is installed correctly, attempting to include the behavior field in the ScaledObject YAML results in a validation error.
Error:
error: error validating "newrelic_scaleobject_beh.yaml": error validating data: ValidationError(ScaledObject.spec): unknown field "behavior" in sh.keda.v1alpha1.ScaledObject.spec; if you choose to ignore these errors, turn validation off with --validate=false
error: error validating "newrelic_scaleobject_beh.yaml": error validating data: ValidationError(ScaledObject.spec): unknown field "behavior" in sh.keda.v1alpha1.ScaledObject.spec; if you choose to ignore these errors, turn validation off with --validate=false
Steps to Reproduce the Problem
Install KEDA v2.13.0 using Helm.
2.Apply the latest CRDs for KEDA.
3.Attempt to create a ScaledObject YAML with the behavior field included, similar to the following:
Report
Hi Team,
I'm unable to use the behavior field with KEDA's ScaledObject. Despite following the documentation and ensuring that KEDA is installed correctly, attempting to include the behavior field in the ScaledObject YAML results in a validation error.
Error:
ScaledObject Manifest with behavior:
Expected Behavior
behavior policy should apply along with KEDA
Actual Behavior
Getting the following error:
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.13.0
Kubernetes Version
1.29
Platform
Amazon Web Services
Scaler Details
No response
Anything else?
No response