k8spod就绪检查失败
kubect describe 查看就绪探针未通过。查看pod 日志,提示证书问题。
·
pod 一直未就绪
kube-system metrics-server-7764f6c67c-2kts9 0/1 Running 0 10m
kubect describe 查看 就绪探针未通过
Normal Started 3m19s kubelet Started container metrics-server
Warning Unhealthy 5s (x20 over 2m55s) kubelet Readiness probe failed: HTTP probe failed with statuscode: 500
查看pod 日志,提示证书问题
“Failed to scrape node” err=“Get “https://172.29.21.67:10250/metrics/resource”: x509: cannot validate certificate for 172.29.21.67 because it doesn’t contain any IP SANs” node="server01
在yaml文件添加 - --kubelet-insecure-tls不校验证书即可
更多推荐
已为社区贡献5条内容
所有评论(0)