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

[Scalability] Enable Cluster Autoscaler (CA) for Alcor deployment #636

Open
xieus opened this issue Jun 9, 2021 · 2 comments
Open

[Scalability] Enable Cluster Autoscaler (CA) for Alcor deployment #636

xieus opened this issue Jun 9, 2021 · 2 comments
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 Cluster Autoscaler is a component that automatically adjusts the size of a Kubernetes Cluster so that all pods have a place to run and there are no unneeded nodes. This naturally fits into Alcor's performance requirement to scale up the number of nodes that hosts Alcor control plane when the load increases, otherwise cut the deployment cost of Alcor control plane.

Detailed Requirements

  • Define ClusterAutoscaler policy
  • Tune scaling policies including ScaleDown and ScaleUp policies. Make recommended default behavior for Alcor deployment.
  • Stress testing a few key microservices (PM for example) to trigger CA conditions
    * Scale up: There are pods that failed to run in the cluster due to insufficient resources.
    * Scale down: there are nodes in the cluster that have been underutilized for an extended period of time and their pods can be placed on other existing nodes.

Reference

K8s CA: https://github.com/kubernetes/autoscaler

@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 23, 2021

@kevin-zhonghao When you config HPA (Issue #635), if you can take CA as well, that would be great.

@kevin-zhonghao
Copy link
Contributor

@kevin-zhonghao When you config HPA (Issue #635), if you can take CA as well, that would be great.

NP, I'll try to configure both of them

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

No branches or pull requests

2 participants