V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
coolair

请问以下 k8s 安装 Metrics Server 一直报错是为啥?

  •  
  •   coolair · Oct 13, 2021 · 1818 views
    This topic created in 1658 days ago, the information mentioned may be changed or developed.

    k8s 版本 1.22.2

    metrics 版本 0.5.1

    报错信息:

    Warning  Unhealthy  93m   kubelet            Liveness probe failed: Get "https://10.0.1.20:443/livez": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
    

    已配置 - --kubelet-insecure-tls- --enable-aggregator-routing=true

    一直无法成功启动,有朋友知道是为什么吗?

    2 replies    2021-11-01 20:25:25 +08:00
    iwishing
        1
    iwishing  
       Oct 13, 2021
    教你一损招,把 liveness 探针去掉。别说是我教的
    raynix
        2
    raynix  
       Nov 1, 2021
    先看看日志吧
    k logs -f kube-state-metrics-xxxxx
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1423 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 17:02 · PVG 01:02 · LAX 10:02 · JFK 13:02
    ♥ Do have faith in what you're doing.