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
apiVersion: keda.sh/v1alpha1kind: ScaledObjectmetadata:
finalizers:
- finalizer.keda.shgeneration: 8labels:
app: aabb-ab007name: aabb-ab007namespace: defaultownerReferences:
- apiVersion: basefeatures.symcn.com/v1alpha1blockOwnerDeletion: truecontroller: truekind: BaseFeaturename: aabb-ab007uid: f9ef1592-b164-4c55-a518-4eb01b832ccespec:
fallback:
failureThreshold: 5replicas: 2maxReplicaCount: 3minReplicaCount: 1scaleTargetRef:
apiVersion: apps/v1kind: Deploymentname: aabb-ab007triggers:
- metadata:
app: aabb-ab007metricName: QPSscalerAddress: keda-external.default.svc:8080targetSize: "200"metricType: AverageValuename: QPStype: external
- metadata:
app: aabb-ab007value: "51"metricType: Utilizationname: cputype: cpustatus:
conditions:
- message: ScaledObject is defined correctly and is ready for scalingreason: ScaledObjectReadystatus: "True"type: Ready
- message: Scaling is performed because triggers are activereason: ScalerActivestatus: "True"type: Active
- message: No fallbacks are active on this scaled objectreason: NoFallbackFoundstatus: "False"type: FallbackexternalMetricNames:
- s0-QPShealth:
s0-qps:
numberOfFailures: 0status: HappylastActiveTime: "2022-06-01T03:21:46Z"originalReplicaCount: 1resourceMetricNames:
- cpuscaleTargetGVKR:
group: appskind: Deploymentresource: deploymentsversion: v1scaleTargetKind: apps/v1.Deployment
If my own keda-external service offline, Keda metrics-apiserver logic will update HPA resource current metrics, and will trigger Keda operator Reconcile to update HPA.Spec. And then, the keda-external service online, Keda operator just update ScaledObject Ready condition, but if the CPU metrics is zero, HPA resource will not modify, so ScaledObject will not fix HAP resource.
Expected Behavior
Will auto fix HPA resource when the keda-external service back to normal.
Actual Behavior
If the CPU metrics is zero always, the HPA resouce will not update.
Steps to Reproduce the Problem
Logs from KEDA operator
example
KEDA Version
2.7.1
Kubernetes Version
1.20
Platform
Any
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Report
ScaledObject:
If my own
keda-external
service offline,Keda metrics-apiserver
logic will update HPA resource current metrics, and will triggerKeda operator
Reconcile to updateHPA.Spec
. And then, thekeda-external
service online,Keda operator
just updateScaledObject
Ready condition, but if the CPU metrics is zero, HPA resource will not modify, soScaledObject
will not fixHAP
resource.Expected Behavior
Will auto fix
HPA
resource when thekeda-external
service back to normal.Actual Behavior
If the CPU metrics is zero always, the
HPA
resouce will not update.Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.7.1
Kubernetes Version
1.20
Platform
Any
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: