risingwavelabs / risingwave-operator

RisingWave Kubernetes Operator
https://www.risingwave.com/cloud
Apache License 2.0
76 stars 19 forks source link

feat: support horizontal and vertical auto-scaling #138

Closed arkbriar closed 1 year ago

arkbriar commented 2 years ago

The Kubernetes community has been working on the auto scaler for a long time. They have had the HorizontalPodAutoScaler GA and provided a CRD and the controller of the VerticalPodAutoScaler. These auto-scalers targets the workload resources such as Deployment and StatefulSet. But we will scale the RisingWave instance, which contains four components and multiple groups of workload resources. Therefore, there're two options for implementing the auto-scaling:

Either option makes sense to me. Since we don't have much effort, I think we have to decide what to do.

References:

arkbriar commented 2 years ago

cc. @Nebulazhang @twocode

arkbriar commented 2 years ago

204 is HPA related, and the PR of that is #218. After that is merged, we can simply set up an HPA on the frontend nodes.

arkbriar commented 1 year ago

Since HPA is now supported and VPA is still under investigation, I will close this issue in favor of another issue to track the VPA support if necessary.