Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

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

Open
xieus opened this issue Jun 9, 2021 · 3 comments · May be fixed by #679
Open

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

xieus opened this issue Jun 9, 2021 · 3 comments · May be fixed by #679
Assignees
Labels
deployment and upgrade help wanted Extra attention is needed perf testing Performance Testing

Comments

@xieus
Copy link
Contributor

xieus commented Jun 9, 2021

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 xieus added help wanted Extra attention is needed perf testing Performance Testing deployment and upgrade labels Jun 9, 2021
@xieus
Copy link
Contributor Author

xieus commented Jun 9, 2021

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

@kevin-zhonghao
Copy link
Contributor

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

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

@xieus
Copy link
Contributor Author

xieus commented Jun 10, 2021

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
deployment and upgrade help wanted Extra attention is needed perf testing Performance Testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants