decrease wait time

Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
(cherry picked from commit 04816ff733b449801eb164305e52923d538f500a)
This commit is contained in:
zhangxiaoyu 2022-11-02 17:05:31 +08:00 committed by openeuler-sync-bot
parent f76b6fa495
commit 13d020a15b
2 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,7 @@ index f21629af..c14ea8dd 100644
+ select {
+ case <-backendToFrontendComplete:
+ case <-time.Tick(300 * time.Second):
+ case <-time.Tick(30 * time.Second):
+ klog.Errorf("Wait backend to frontend complete timeout")
+ }
+

View File

@ -3,7 +3,7 @@
Name: kubernetes
Version: 1.20.2
Release: 12
Release: 13
Summary: Container cluster management
License: ASL 2.0
URL: https://k8s.io/kubernetes
@ -264,6 +264,9 @@ getent passwd kube >/dev/null || useradd -r -g kube -d / -s /sbin/nologin \
%systemd_postun kubelet kube-proxy
%changelog
* Wed Nov 02 2022 zhangxiaoyu <zhangxiaoyu58@huawei.com> - 1.20.2-13
- DESC: decrease wait time
* Tue Nov 01 2022 zhangxiaoyu <zhangxiaoyu58@huawei.com> - 1.20.2-12
- DESC: add log and modify timeout