alcor icon indicating copy to clipboard operation
alcor copied to clipboard

[Scalability] Enable Horizontal Pod Autoscaler (HPA) for Alcor deployment

Open xieus opened this issue 4 years ago • 3 comments

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/

xieus avatar Jun 09 '21 22:06 xieus

@kevin-zhonghao Checking if you can help on this issue.

xieus avatar Jun 09 '21 23:06 xieus

@kevin-zhonghao Checking if you can help on this issue.

NP, the current question is we may find a suitable test environment.

kevin-zhonghao avatar Jun 09 '21 23:06 kevin-zhonghao

@kevin-zhonghao Checking if you can help on this issue.

NP, the current question is we may find a suitable test environment.

Good point. I will see if we can bring up a few AWS VMs for testing.

xieus avatar Jun 10 '21 00:06 xieus