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
Describe the bug
The Horizontal Pod Autoscaler (HPA) is not working as expected, and the specific error is related to the missing selector.
Expected behavior
The HPA should successfully scale based on the provided metrics and selector.
To Reproduce
create the kafka source
add a topic to the kafka source
update config-kafka-features configmap value controller.autoscaler: enabled to use Keda to scale
everything seems to work, but the HPA doesn't seems to work properly
k get hpa -n <namespace>
NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE
keda-hpa-so-0c156161-02f1-4eb0-8bcc-9f8ac37ed66c ConsumerGroup/878bbfc0-fd37-4e95-84fe-acd2e2cb2a5a <**unknown**>/100 (avg) 1 50 0 28m
Knative release version
Knative serving 1.13
Knative eventing 1.13
Additional context
HPA description in two different moments:
Conditions:
Type Status Reason Message
---- ------ ------ -------
AbleToScale True SucceededGetScale the HPA controller was able to get the target's current scale
ScalingActive False InvalidSelector the HPA target's scale is missing a selector
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedComputeMetricsReplicas 65m (x12 over 68m) horizontal-pod-autoscaler selector is required
Warning SelectorRequired 59s (x140 over 68m) horizontal-pod-autoscaler selector is required
after a long waiting, the status become:
Conditions:
Type Status Reason Message
---- ------ ------ -------
AbleToScale True SucceededGetScale the HPA controller was able to get the target's current scale
ScalingActive False ScalingDisabled scaling is disabled since the replica count of the target is zero
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning SelectorRequired 13h (x259 over 16h) horizontal-pod-autoscaler selector is required
Warning FailedGetScale 10h (x5 over 15h) horizontal-pod-autoscaler Unauthorized
Describe the bug
The Horizontal Pod Autoscaler (HPA) is not working as expected, and the specific error is related to the missing selector.
Expected behavior
The HPA should successfully scale based on the provided metrics and selector.
To Reproduce
controller.autoscaler: enabled
to use Keda to scaleKnative release version
Knative serving 1.13
Knative eventing 1.13
Additional context
HPA description in two different moments:
after a long waiting, the status become:
the consumergroup has the selector:
the selector that HPA is looking:
The text was updated successfully, but these errors were encountered: