-
Bug
-
Resolution: Done
-
Major
-
None
-
4.12
-
Incidents & Support
-
False
-
-
3
-
Important
-
No
-
None
-
None
-
Rejected
-
OSDOCS Sprint 244, OSDOCS Sprint 245
-
2
-
Customer Escalated
-
None
-
Release Note Not Required
-
N/A
-
None
-
None
-
None
-
None
Description of problem:
CPU triggered autoscaler is not working like documented and leading to errors in the keda operator
Version-Release number of selected component (if applicable):
OpenShift 4.12.30 Custom Metrics Autoscaler Operator 2.10.1-267
How reproducible:
always
Steps to Reproduce:
1. Install latest OpenShift 4.12 2. Install latest Custom Metrics Autoscaler Operator 3. create KedaController like documented - https://docs.openshift.com/container-platform/4.12/nodes/cma/nodes-cma-autoscaling-custom-install.html 4. create ScaledObject following the docs for "Understanding the CPU trigger" - Understanding the CPU trigger
Actual results:
2023-09-08T09:24:47Z ERROR Reconciler error {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"cpu-scaledobject-doc","namespace":"test"}, "namespace": "test", "name": "cpu-scaledobject-doc", "reconcileID": "b71e4513-41b5-4097-89b3-5239ee4d96c6", "error": "HorizontalPodAutoscaler.autoscaling \"keda-hpa-cpu-scaledobject-doc\" is invalid: spec.metrics[0].containerResource: Required value: must populate information for the given metric source (only allowed when HPAContainerMetrics feature is enabled)"}
Expected results:
working autoscaling
Additional info:
none
- links to