chart
chart copied to clipboard
Helm chart autoscaling doesn't scale the web deployment
Steps to reproduce the problem
- I set the
autoscaling.enabledtotrueand setminReplicasas described in the values.yaml - I deployed the Helm chart, and noticed the pod count was incorrect
- The HPA throws an error:
status:
conditions:
- lastTransitionTime: "2022-11-14T20:13:29Z"
message: 'the HPA controller was unable to get the target''s current scale: deployments/scale.apps
"mastodon" not found'
- Checking the names, the name for the target of the HPA and the rendered name of the deployment do not match.
Expected behaviour
The HPA should set the number of pods in the deployment correctly
Actual behaviour
The pod stayed at one and the HPA could not find the deployment to scale it
Detailed description
No response
Specifications
Latest version of the chart.
Have raised a PR with the fix: https://github.com/mastodon/mastodon/pull/20690
Why is autoscaling not more part of this helm chart?