department-of-veterans-affairs / abd-vro

To get Veterans benefits in minutes, VRO software uses health evidence data to help fast track disability claims.
Other
18 stars 6 forks source link

Install Horizontal Pod Autoscaler #2316

Open msnwatson opened 7 months ago

msnwatson commented 7 months ago

User Story

As an administrator of the VRO platform, I want to ensure that deployments which can tolerate multiple replicas are setup with horizontal pod autoscalers (HPAs), so that they are more resilient to fluctuations in request volume. HPA ensures that the application can handle varying levels of load efficiently.

Acceptance Criteria

  1. All applications deployable through Helm have been evaluated for their ability to tolerate multiple running replicas and the results of this evaluation have been documented in a new wiki page.
  2. Those applications found in the prior step to tolerate multiple replicas have installed HPAs in the K8s cluster across all of our environments.
  3. Assuming there is at least one application which tolerates multiple replicas, a follow-up ticket has been created for creating Pod Disruption Budgets for those same applications.
  4. Regardless of the method for defining HPAs, HPA specs are checked in as code into the repo.

Notes about work Helpful link for constructing Helm charts: https://doc.kaas.thalesdigital.io/docs/BestPractices/BYOHelmchart

msnwatson commented 7 months ago

https://stackoverflow.com/questions/70675176/install-horizontalpodautoscaler-hpa-using-helm