oceanbase / oceanbase/ob-operator
[Feature]: Autoscaler for OceanBase
Open
@chris-sun-star is already working on this.
Since Feb 2, 2024.
- Dominant language
- Go
- Stars
- 172
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
Describe your use case
Configure a Horizontal Cluster Autoscaler to watch resource utilization of specific cluster or tenant. If the utilization rate keep high or low enough, the autoscaler scales up or down the cluster or tenant.
Describe the solution you'd like
Maybe a new CRD named HorizontalAutoscaler could be created to handle such a use case. The draft spec can be like:
spec:
clusterName:
tenantName:
targetCPUUtilization:
targetMemoryUtilization:
maxZones:
minZones:
maxServers:
minServers:
maxUnits:
minUnits:
maxUnitConfig:
minUnitConfig:
Describe alternatives you've considered
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.