helm-charts
helm-charts copied to clipboard
Adds HorizontalPodAutoscaler to web and server components
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
-
Closes - didn't find any related issue
-
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
- Any docs updates needed? No
Thank for you for the submission but we don't currently support or recommend autoscaling.
@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