coolair

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

  •  
  •   coolair · Oct 13, 2021 · 2252 views
    This topic created in 1855 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
    iwishing
    Oct 13, 2021
    1
    教你一损招,把 liveness 探针去掉。别说是我教的
    raynix
    raynix
    Nov 1, 2021
    2
    先看看日志吧
    k logs -f kube-state-metrics-xxxxx
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1186 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:35 · PVG 07:35 · LAX 15:35 · JFK 18:35
    ♥ Do have faith in what you're doing.