mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-09 06:31:25 +02:00
feat: enable etcd consistency hashcheck
This will be only enabled for Talos v1.3.x. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
parent
015535d905
commit
e5cabd42cc
@ -45,6 +45,15 @@ Talos now supports the Nano Pi R4S SBC.
|
||||
* CoreDNS: v1.9.4
|
||||
* etcd: v3.5.5
|
||||
* Linux: 5.15.68
|
||||
"""
|
||||
|
||||
[notes.etcd]
|
||||
title = "etcd Consistency Check"
|
||||
description="""\
|
||||
Talos enables [--experimental-compact-hash-check-enabled](https://github.com/etcd-io/etcd/pull/14120) option by default to improve
|
||||
etcd store consistency guarantees.
|
||||
|
||||
This options is only available with etcd >= v3.5.5, so Talos doesn't support version of etcd before v3.5.5.
|
||||
"""
|
||||
|
||||
[make_deps]
|
||||
|
@ -409,6 +409,7 @@ func (e *Etcd) argsForInit(ctx context.Context, r runtime.Runtime, spec *etcdres
|
||||
"peer-trusted-ca-file": constants.EtcdCACert,
|
||||
"experimental-initial-corrupt-check": "true",
|
||||
"experimental-watch-progress-notify-interval": "5s",
|
||||
"experimental-compact-hash-check-enabled": "true",
|
||||
}
|
||||
|
||||
extraArgs := argsbuilder.Args(r.Config().Cluster().Etcd().ExtraArgs())
|
||||
@ -485,6 +486,7 @@ func (e *Etcd) argsForControlPlane(ctx context.Context, r runtime.Runtime, spec
|
||||
"peer-trusted-ca-file": constants.EtcdCACert,
|
||||
"experimental-initial-corrupt-check": "true",
|
||||
"experimental-watch-progress-notify-interval": "5s",
|
||||
"experimental-compact-hash-check-enabled": "true",
|
||||
}
|
||||
|
||||
extraArgs := argsbuilder.Args(r.Config().Cluster().Etcd().ExtraArgs())
|
||||
|
Loading…
x
Reference in New Issue
Block a user