You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fallback mechanism should only work if the metric type is AverageValue, which is the default (according to the docs).
If you do not explicitly declare the metric type, KEDA prints the following error:
2024-08-02T15:01:04Z ERROR scaledobject-validation-webhook validation error {"name": "foo", "error": "MetricType=, but Fallback can only be enabled for triggers with metric of type AverageValue"}****
Expected Behavior
KEDA should interpret an empty metricType as the default AverageValue.
Actual Behavior
KEDA prints an error
Steps to Reproduce the Problem
Create a ScaledObject with fallback enabled (but without explicitly declaring the metricType of the scaler)
Error is printed
Logs from KEDA operator
2024-08-02T15:01:04Z ERROR scaledobject-validation-webhook validation error {"name": "foo", "error": "MetricType=, but Fallback can only be enabled for triggers with metric of type AverageValue"}
KEDA Version
2.14.1
Kubernetes Version
None
Platform
Any
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
stalebot
added
the
stale
All issues that are marked as stale due to inactivity
label
Oct 19, 2024
Report
The fallback mechanism should only work if the metric type is AverageValue, which is the default (according to the docs).
If you do not explicitly declare the metric type, KEDA prints the following error:
Expected Behavior
KEDA should interpret an empty metricType as the default AverageValue.
Actual Behavior
KEDA prints an error
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.14.1
Kubernetes Version
None
Platform
Any
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: