-
- Downloads
fix(kube-system): Fix metrics-server unable to scrape nodes
This patch fixes the problem that metrics-server is unable to scrape any node, because the certificate for that node, doesn't contain its IP address. It's resolved by prefer to use the hostname instead, which should also be more future proof in general. ``` E0129 14:24:37.428987 1 scraper.go:139] "Failed to scrape node" err="Get \"https://192.168.100.10:10250/stats/summary?only_cpu_and_memory=true\": x509: cannot validate certificate for 192.168.100.10 because it doesn't contain any IP SANs" node="node01.k8s01.si-infra.de" ``` References: https://github.com/kubernetes-sigs/metrics-server/issues/835
Loading
Please register or sign in to comment