Controller: Make Leader Election TTL configurable. (#11142)
* feature(leader_ttl): feature to customize ttl to leader be re-elected * fix(review): docs
This commit is contained in:
parent
aedb13c9fa
commit
7c8af4928b
9 changed files with 93 additions and 8 deletions
|
|
@ -91,6 +91,7 @@ type Configuration struct {
|
|||
UpdateStatus bool
|
||||
UseNodeInternalIP bool
|
||||
ElectionID string
|
||||
ElectionTTL time.Duration
|
||||
UpdateStatusOnShutdown bool
|
||||
|
||||
HealthCheckHost string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue