-
-
Notifications
You must be signed in to change notification settings - Fork 4
feat(regionserver): add graceful shutdown configuration #570
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
Changes from 59 commits
4ad793f
cb232df
dea179d
eecaf23
0b14f92
71793ea
1644aff
1903f36
5e8201f
e76166a
3c63da1
69a6f49
8dbde9b
68756ab
43abf6d
2b6e89b
c53497a
4e31a3c
a10caa0
f42ab05
0e9e37e
c2c92c5
8d7265e
28a1395
f059e7f
67f3f1b
7e118ab
34a5ddb
f9a769b
420ba36
2b0d63b
5d5d5e9
228ad4f
039c22a
60b9dc8
fd8331e
5378f11
7b08a26
6f087db
0f32e59
109e877
05f4303
19fed55
8a8d26a
e0aaa27
eb52267
c051fb5
40ae497
d6d5fe4
fa239e5
cb76f4e
e86b446
cd22ba8
ab00b89
19db6a9
a6facad
6cbe265
7c9a5bd
2123fbc
ace488a
ca3f734
76001c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -688,6 +688,9 @@ spec: | |
description: Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. | ||
nullable: true | ||
type: string | ||
hbaseOpts: | ||
nullable: true | ||
type: string | ||
Comment on lines
+691
to
+693
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this should not be added again (applies to all roles). |
||
hbaseRootdir: | ||
nullable: true | ||
type: string | ||
|
@@ -775,6 +778,34 @@ spec: | |
nullable: true | ||
type: boolean | ||
type: object | ||
regionMover: | ||
default: | ||
ack: null | ||
maxThreads: null | ||
runBeforeShutdown: null | ||
description: Before terminating a region server pod, the RegionMover tool can be invoked to transfer local regions to other servers. This may cause a lot of network traffic in the Kubernetes cluster if the entire HBase stacklet is being restarted. The operator will compute a timeout period for the region move that will not exceed the graceful shutdown timeout. | ||
properties: | ||
ack: | ||
description: If enabled (default), the region mover will confirm that regions are available on the source as well as the target pods before and after the move. | ||
nullable: true | ||
type: boolean | ||
additionalMoverOptions: | ||
default: [] | ||
description: Additional options to pass to the region mover. | ||
items: | ||
type: string | ||
type: array | ||
maxThreads: | ||
description: Maximum number of threads to use for moving regions. | ||
format: uint16 | ||
minimum: 0.0 | ||
nullable: true | ||
type: integer | ||
runBeforeShutdown: | ||
description: Move local regions to other servers before terminating a region server's pod. | ||
nullable: true | ||
type: boolean | ||
type: object | ||
requestedSecretLifetime: | ||
description: Request secret (currently only autoTls certificates) lifetime from the secret operator, e.g. `7d`, or `30d`. Please note that this can be shortened by the `maxCertificateLifetime` setting on the SecretClass issuing the TLS certificate. | ||
nullable: true | ||
|
@@ -938,6 +969,9 @@ spec: | |
description: Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. | ||
nullable: true | ||
type: string | ||
hbaseOpts: | ||
nullable: true | ||
type: string | ||
hbaseRootdir: | ||
nullable: true | ||
type: string | ||
|
@@ -1025,6 +1059,34 @@ spec: | |
nullable: true | ||
type: boolean | ||
type: object | ||
regionMover: | ||
default: | ||
ack: null | ||
maxThreads: null | ||
runBeforeShutdown: null | ||
description: Before terminating a region server pod, the RegionMover tool can be invoked to transfer local regions to other servers. This may cause a lot of network traffic in the Kubernetes cluster if the entire HBase stacklet is being restarted. The operator will compute a timeout period for the region move that will not exceed the graceful shutdown timeout. | ||
properties: | ||
ack: | ||
description: If enabled (default), the region mover will confirm that regions are available on the source as well as the target pods before and after the move. | ||
nullable: true | ||
type: boolean | ||
additionalMoverOptions: | ||
default: [] | ||
description: Additional options to pass to the region mover. | ||
items: | ||
type: string | ||
type: array | ||
maxThreads: | ||
description: Maximum number of threads to use for moving regions. | ||
format: uint16 | ||
minimum: 0.0 | ||
nullable: true | ||
type: integer | ||
runBeforeShutdown: | ||
description: Move local regions to other servers before terminating a region server's pod. | ||
nullable: true | ||
type: boolean | ||
type: object | ||
requestedSecretLifetime: | ||
description: Request secret (currently only autoTls certificates) lifetime from the secret operator, e.g. `7d`, or `30d`. Please note that this can be shortened by the `maxCertificateLifetime` setting on the SecretClass issuing the TLS certificate. | ||
nullable: true | ||
|
Uh oh!
There was an error while loading. Please reload this page.