utils/etcd.go is not using the v1beta4 EtcdAPICall timeout for etcd API calls #3153
Labels
area/etcd
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Milestone
we added the new constant EtcdAPITimeout and it's used in etcd.go:
https://github.com/kubernetes/kubernetes/blob/release-1.30/cmd/kubeadm/app/util/etcd/etcd.go#L252
but instead, it should be using the configurable Timeouts.EtcdAPICall from v1beta4.
with the singleton pattern
kubeadmapi.GetActiveTimeouts().EtcdAPICall.Duration
i'm marking this as a bug since this is not intentional and the original exponential backoff was more time - around 200 seconds, while the new timeout ended up as liner 2 minutes. so, some users on slow systems might hit it on join. e.g. new member joins but it takes more than 2 min to sync the member and the promotion fails.
i wouldn't say it's a regression, but more of a timeout decrease.
i will send PR for 1.33 and backports to avoid the potential issue on older releases.
The text was updated successfully, but these errors were encountered: