-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support TiKV auto scaling-out by Storage #2884
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Yisaer
force-pushed
the
support_storage_auto
branch
from
July 8, 2020 07:12
8d34c50
to
e39a4e4
Compare
Yisaer
force-pushed
the
support_storage_auto
branch
from
July 8, 2020 08:53
d67aeeb
to
d650d70
Compare
Yisaer
changed the title
Support TiKV Auto-scaling by Storage
Support TiKV auto scaling-out by Storage
Jul 8, 2020
fix fix fix Update tikv_autoscaler.go fix fix fix lint add doc fix error fix error fix unit test fix error remove useless code fux unit test fix error Update docs.md fix api fix status
Yisaer
force-pushed
the
support_storage_auto
branch
from
July 8, 2020 11:39
efe3d76
to
75ead5d
Compare
Yisaer
requested review from
DanielZhangQD,
cofyc,
weekface,
zjj2wry and
lichunzhu
July 8, 2020 12:39
/pull-e2e-kind-serial |
1 similar comment
/pull-e2e-kind-serial |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2 similar comments
/test pull-e2e-kind-serial |
/test pull-e2e-kind-serial |
…-operator into support_storage_auto
I would suggest using the phrase
|
cofyc
previously approved these changes
Jul 13, 2020
@cofyc,Thanks for your review. |
cofyc
approved these changes
Jul 13, 2020
weekface
approved these changes
Jul 13, 2020
ti-srebot
approved these changes
Jul 13, 2020
@weekface,Thanks for your review. |
/merge |
/run-all-tests |
1 similar comment
/run-all-tests |
This comment has been minimized.
This comment has been minimized.
3 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
/test pull-e2e-kind-asts |
ti-srebot
pushed a commit
to ti-srebot/tidb-operator
that referenced
this pull request
Jul 13, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-1.1 in PR #2917 |
Yisaer
added a commit
that referenced
this pull request
Jul 14, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: Song Gao <disxiaofei@163.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/auto-scaling
related to auto-scaling
CanMerge
needs-cherry-pick-1.1
status/LGT2
status/PTAL
PR needs to be reviewed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
close #2909
Support auto scaling-out TiKV by Storage. The Storage Auto-scaling Strategy is similar to the AWS RDS Storage Auto-scaling
The tikv would be auto-scaling out in these rules:
Note that the Max-Replicas and ScaleOut Cool-down is still worked in this case.
Note that in v1.1.x, auto-scaling by storage and cpu couldn't be both work for tikv. We will support this feature in v1.2.x
If the rule based by cpu and based by storage are both set, only rule based by storage would be considered.
Here is one example for the tidbclusterautoscaler to create auto-scaling by storage :
The Status would be like below (normal):
During Storage Pressure:
What is changed and how does it work?
Check List
Tests
Related changes
Does this PR introduce a user-facing change?: