kube-system 命名空间里的 kube-controller-manager-xxx 重启会导致自定义资源的 controller 也重启?

2021-04-27 10:03:13 +08:00
 hijoker

kube-controller-manager-xxx 日志

I0426 14:56:49.023770 1 leaderelection.go:288] failed to renew lease kube-system/kube-controller-manager: failed to tryAcquireOrRenew context deadline exceeded

E0426 14:56:49.023797 1 leaderelection.go:331] error retrieving resource lock kube-system/kube-controller-manager: Get https://192.168.xx.yyy:6443/api/v1/namespaces/kube-system/endpoints/kube-controller-manager?timeout=10s: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
F0426 14:56:49.023910 1 controllermanager.go:279] leaderelection lost

自定义资源的 controller 的 pod 的日志

I0426 14:56:50.467150 1 leaderelection.go:249] failed to renew lease default/mysql-operator-leader-election: failed to tryAcquireOrRenew context deadline exceeded

1970 次点击
所在节点    Kubernetes
1 条回复
halfcrazy
2021-04-27 12:44:19 +08:00
不会,排查 apiserver 和网络。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/773530

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX