This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Description
Feature Requirements
The K8s HPA automatically scales the number of Pods in a replication controller, deployment, replica set or stateful set based on observed CPU utilization (or, with custom metrics support, on some other application-provided metrics). This naturally fits into Alcor's performance requirement to scale up the number of replicas for each Microservice when the load increases.
Detailed Requirements
- Define HorizontalPodAutoscaler including target metrics (like CPU)
- Tune scaling policies including ScaleDown and ScaleUp policies (like periodSecond, selectPolicy and stabilizationWindowSeconds etc.). Make recommended default behavior for each Microservice.
- Stress testing a few key Microservices (PM for example) to trigger scale up and down policies.
Reference
K8s HPA: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/