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
When creating a ScaledObject with the scaledobject.keda.sh/transfer-hpa-ownership annotation, it does not set .status.hpaName.
Expected Behavior
Adopted/transferred-ownership ScaledObject resources should have .status.hpaName set to the name of the HPA referenced in .spec.advanced.horizontalPodAutoscalerConfig.name
Actual Behavior
.status.hpaName is unset in all cases except when KEDA was responsible for the initial creation of the managed HPA.
Steps to Reproduce the Problem
Create an HPA.
Create a ScaledObject with the transfer-hpa-ownership annotation combined with .spec.advanced to have KEDA take over the HPA.
Observe that .status.hpaName never gets set on the ScaledObject.
Logs from KEDA operator
No response
KEDA Version
2.14.0
Kubernetes Version
1.29
Platform
Any
Scaler Details
No response
Anything else?
I think that this may be an issue for any ScaledObject where the first reconcile loop doesn't go through this block, tracing through the code this seems to be the only place where status.HpaName is set and it's only called when HPAs are initially created.
The text was updated successfully, but these errors were encountered:
Report
When creating a ScaledObject with the
scaledobject.keda.sh/transfer-hpa-ownership
annotation, it does not set.status.hpaName
.Expected Behavior
Adopted/transferred-ownership ScaledObject resources should have
.status.hpaName
set to the name of the HPA referenced in.spec.advanced.horizontalPodAutoscalerConfig.name
Actual Behavior
.status.hpaName
is unset in all cases except when KEDA was responsible for the initial creation of the managed HPA.Steps to Reproduce the Problem
transfer-hpa-ownership
annotation combined with.spec.advanced
to have KEDA take over the HPA..status.hpaName
never gets set on the ScaledObject.Logs from KEDA operator
No response
KEDA Version
2.14.0
Kubernetes Version
1.29
Platform
Any
Scaler Details
No response
Anything else?
I think that this may be an issue for any ScaledObject where the first reconcile loop doesn't go through this block, tracing through the code this seems to be the only place where status.HpaName is set and it's only called when HPAs are initially created.
The text was updated successfully, but these errors were encountered: