-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spec.autoscaler.targetMemoryUtilization does not add memory scaling to autoscaler #1439
Comments
Hmm this is strange, I wonder if there's an issue with updating the HPA when reapplying your new config. Have you tried deleting your namespace entirely and installing the operator and collector again? I am using the same operator version and autoscaler config and my hpa seems to run with no issues
And I've trigger rescale on memory successfully as well
Some additional info that would be helpful to know:
|
I was able to replicate this with minikube. I did the following
If I deploy the collector with both utilization options set in the beginning, it works. Seems like updating is the problem. |
When deploying a collector with autoscaling enabled, the HPA is created with CPU metric scaling only, despite
targetMemoryUtilization
being set inspec.autoscaler
.I have the following collector config:
The collector deploys and works great, but the hpa does not have memory configured:
Kubernetes:
1.25.5
(GKE: 1.25.5-gke.2000)Operator:
ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.68.0
I have other working HPA's defined outside of the operator which do have memory scaling, so I am not sure it is an issue with my cluster.
The text was updated successfully, but these errors were encountered: