Merge pull request #53717 from liggitt/quorum
Automatic merge from submit-queue (batch tested with PRs 51677, 53690, 53025, 53717, 53664). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Change --etcd-quorum-read default to true The tested configurations for HA etcd use quorum reads. Defaulting this off causes potential correctness issues in controllers that do live lookups when processing their work queue. Given that, we should default this on. Quorum reads are far more performant on etcd3 than they were on etcd2 xref https://github.com/kubernetes/kubernetes/pull/53662#discussion_r143806500 https://github.com/kubernetes/kubernetes/issues/19902 https://github.com/kubernetes/kubernetes/issues/48865 ```release-note apiserver: --etcd-quorum-read now defaults to true, to ensure correct operation with HA etcd clusters ``` Kubernetes-commit: 42d22aea9f4b26bfb6972dd8e22459cd4b05b6cf
This commit is contained in:
commit
c91553903a
|
|
@ -72,5 +72,6 @@ func NewDefaultConfig(prefix string, codec runtime.Codec) *Config {
|
|||
DeserializationCacheSize: 0,
|
||||
Codec: codec,
|
||||
CompactionInterval: DefaultCompactInterval,
|
||||
Quorum: true,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue