本文主要是介绍unable to fully scrape metrics: unable to fully scrape metrics from node,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
#根据日志发现,原因是unable to fully scrape metrics: unable to fully scrape metrics from node docker-desktop: unable to fetch metrics from node docker-desktop: Get "https://192.168.65.3:10250/stats/summary?only_cpu_and_memory=true": x509: cannot validate certificate for 192.168.65.3 because it doesn't contain any IP SANs
#如何修复呢? -添加- --kubelet-insecure-tlstemplate:metadata:labels:k8s-app: metrics-serverspec:containers:- args:- --cert-dir=/tmp- --secure-port=4443- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname- --kubelet-use-node-status-port- --kubelet-insecure-tlsimage: k8s.gcr.io/metrics-server/metrics-server:v0.5.0
如何修复呢? -添加- --kubelet-insecure-tls
这篇关于unable to fully scrape metrics: unable to fully scrape metrics from node的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!