Skip to content

feat: Support autoscaling via HPA #268

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

Merged
merged 6 commits into from
Jul 9, 2025

Conversation

rm3l
Copy link
Contributor

@rm3l rm3l commented Jul 5, 2025

Description of the change

This PR adds support for autoscaling using an Horizontal Pod Autoscaler, to be able to automatically scale the number of replicas up/down based on resource (CPU/Mem) usage.
See https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ and https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/

Existing or Associated Issue(s)

Additional Information

Deploy the Chart with backstage.autoscaling.enabled=true.
You should see a new HPA resource will be created.

Checklist

  • Chart version bumped in Chart.yaml according to semver.
  • Variables are documented in the values.yaml and added to the README.md. The helm-docs utility can be used to generate the necessary content. Use helm-docs --dry-run to preview the content.
  • JSON Schema generated.
  • List tests pass for Chart using the Chart Testing tool and the ct lint command.

@rm3l rm3l requested a review from a team as a code owner July 5, 2025 23:32
@rm3l rm3l force-pushed the feat/support_autoscaling_via_hpa branch from f6f8cf4 to 891646d Compare July 5, 2025 23:34
@rm3l
Copy link
Contributor Author

rm3l commented Jul 5, 2025

@ChrisJBurns Please take a look at this PR when you get a chance. All tests are passing: https://github.com/backstage/charts/actions/runs/16093088075/job/45412256675?pr=268#step:10:201
Thanks.

@ChrisJBurns
Copy link
Contributor

Nice @rm3l . Approved!

@ChrisJBurns ChrisJBurns merged commit c1b06c9 into backstage:main Jul 9, 2025
4 checks passed
@rm3l rm3l deleted the feat/support_autoscaling_via_hpa branch July 10, 2025 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants