Keda: CPU/Memory scalers not working in 2.0.0-rc

Created on 20 Oct 2020  路  5Comments  路  Source: kedacore/keda

I'm trying to test out the cpu/memory scalers, but its keda-operator does not seem to recognize it.
Im getting this in the logs:
2020-10-20T06:32:27.721Z ERROR controller Reconciler error {"reconcilerGroup": "keda.sh", "reconcilerKind": "ScaledObject", "controller": "scaledobject", "name": "scaled-obj-name", "namespace": "default", "error": "error getting scaler for trigger #0: no scaler found for type: cpu"}

I guess it might be that this https://github.com/kedacore/keda/pull/1215 is not released yet, even though it is in the docs?

Expected Behavior

CPU/Memory scalers working

Actual Behavior

CPU/Memory scalers not working

Steps to Reproduce the Problem

  1. Add ScaledObject with cpu trigger

Specifications

  • KEDA Version: v2.0.0-rc
  • Platform & Version: Please elaborate
  • Kubernetes Version: 1.16
  • Scaler(s): cpu/memory
bug

Most helpful comment

Yeah, it is not a part of RC, we are gonna release RC2 soon (in a matter of days), which will contain this scaler.

All 5 comments

Yeah, it is not a part of RC, we are gonna release RC2 soon (in a matter of days), which will contain this scaler.

Yeah, it is not a part of RC, we are gonna release RC2 soon (in a matter of days), which will contain this scaler.

Thanks for the update,

I was testing and got the same error. When can you release it?

@kenotsolutions once this is fixed https://github.com/kedacore/keda/issues/1257

FYI RC2 is out

EDIT: Never mind, I was mistaken and my issue was resolved.

I wrongly thought that the me updating KEDA from 1.5.0 to 2.0.0 broke my prometeheus scaling, but it turns out I just needed to switch my ScaledObject "apiVersion" from "keda.k8s.io/v1alpha1" to "keda.sh/v1alpha1". An article I was following used the former, but the kedacore/keda docs say to use the latter. From the keda operator logs of 2.0.0rc, it seems as though 2.0.0rc only reconciles from keda.sh whereas 1.5.0 supports reconcilation of keda.k8s.io.

Thanks for getting this CPU feature into the RC!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

audunsol picture audunsol  路  4Comments

jeffhollan picture jeffhollan  路  3Comments

gordonbondon picture gordonbondon  路  4Comments

sebastianspross picture sebastianspross  路  3Comments

jeffhollan picture jeffhollan  路  5Comments