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
{{ message }}
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.
We have been noticing inconsistencies between the metric value reported by the HPA and the metric value reported from CW. We are struggling to scale our system to keep up with a work queue and would appreciate some clarity.
I have the following setup for a custom metric that is posted to CW every 15 minutes. It is in OUR/NAMESPACE, has a single dimension QUEUE and is named QUEUE_SIZE.
Name: <replace>-scaler
Namespace: web
Labels: <none>
Annotations: <none>
CreationTimestamp: Sun, 13 Sep 2020 00:49:13 -0700
Reference: Deployment/our-deployment
Metrics: ( current / target )
"<replace>-queue-length" (target average value): 10778m / 10
Min replicas: 1
Max replicas: 200
Deployment pods: 36 current / 36 desired
Conditions:
Type Status Reason Message
---- ------ ------ -------
AbleToScale True ReadyForNewScale recommended size matches current size
ScalingActive True ValidMetricFound the HPA was able to successfully calculate a replica count from external metric <replace>-queue-length(nil)
ScalingLimited False DesiredWithinRange the desired count is within the acceptable range
The reported value appears to be nowhere close to the true value in CW. We follow the logs in the metrics adapter and it claims to successfully capture and report the external metric.
We would appreciate any tips to help us have the correct metric value supplied to the HPA. Thanks!
The text was updated successfully, but these errors were encountered:
We have been noticing inconsistencies between the metric value reported by the HPA and the metric value reported from CW. We are struggling to scale our system to keep up with a work queue and would appreciate some clarity.
I have the following setup for a custom metric that is posted to CW every 15 minutes. It is in
OUR/NAMESPACE
, has a single dimensionQUEUE
and is namedQUEUE_SIZE
.ExternalMetric
HPA
We run the CW query directly as suggested in another issue
We inspect the HPA and see the following
The reported value appears to be nowhere close to the true value in CW. We follow the logs in the metrics adapter and it claims to successfully capture and report the external metric.
We would appreciate any tips to help us have the correct metric value supplied to the HPA. Thanks!
The text was updated successfully, but these errors were encountered: