helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Adds HorizontalPodAutoscaler to web and server components

Open felippe-mendonca opened this issue 1 year ago • 1 comments

What was changed

Adds HorizontalPodAutoscaler to web and server components. Also added two helpers from Bitnami's Chart, because didn't find useful adding the entire dependency https://github.com/bitnami/charts/tree/main/bitnami/common (I can change this btw).

Why?

Improves reliability and scalability

Checklist

  1. Closes - didn't find any related issue

  2. How was this tested:

  • Helm template + kubectl apply --dry-run -f -
  • Implemented on a staging environment
temporal-frontend             Deployment/temporal-frontend             26%/90%, 10%/90%   2         3         2          2m48s
temporal-history              Deployment/temporal-history              70%/90%, 13%/90%   2         3         2          2m48s
temporal-matching             Deployment/temporal-matching             26%/90%, 13%/90%   2         3         2          2m48s
temporal-web                  Deployment/temporal-web                  5%/90%, 2%/90%     2         3         2          2m48s
temporal-worker               Deployment/temporal-worker               24%/90%, 8%/90%    2         3         2          2m48s
  1. Any docs updates needed? No

felippe-mendonca avatar Dec 13 '23 18:12 felippe-mendonca

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Dec 13 '23 18:12 CLAassistant

Thank for you for the submission but we don't currently support or recommend autoscaling.

robholland avatar Jun 08 '24 15:06 robholland

@robholland does the temporal team still recommend against HPAs? What's the preferred approach to scaling with traffic -- manually changing the replica count? Please advise

Korede-TA avatar Mar 26 '25 01:03 Korede-TA