V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
hijoker
V2EX  ›  Kubernetes

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

  •  
  •   hijoker · 2021-04-27 10:03:13 +08:00 · 1938 次点击
    这是一个创建于 1304 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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
    
    
    1 条回复    2021-04-27 12:44:19 +08:00
    halfcrazy
        1
    halfcrazy  
       2021-04-27 12:44:19 +08:00
    不会,排查 apiserver 和网络。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1610 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 16:56 · PVG 00:56 · LAX 08:56 · JFK 11:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.