pingcap / pingcap/tidb

support vertical pod autoscaler

Open
#37,707 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

Vertical Pod Autoscaler (VPA) frees users from the necessity of setting up-to-date resource limits and requests for the containers in their pods. When configured, it will set the requests automatically based on usage and thus allow proper scheduling onto nodes so that appropriate resource amount is available for each pod. It will also maintain ratios between limits and requests that were specified in initial containers configuration.

If TiDB supports vertical pod autoscaler, we changed machine configuration such as CPU Core or Max memory. we don't restart tidb to create a new tidb to enable this configuration.

* support cgroup v1/v2 to get cpu/memory limit

- https://github.com/pingcap/tidb/pull/36901

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.