Apr 13 22:27:07 test-b kubelet: E0413 22:27:07.787543 4387 reflector.go:205] k8s.io/kubernetes/pkg/kubelet/kubelet.go:474: Failed to list *v1.Node: Get https://192.168.52.120:6443/api/v1/nodes?fieldSelector=metadata.name%3Dqifeif-test-b&limit=500&resourceVersion=0: x509: certificate signed by unknown authority (possibly because of crypto/rsa: verification error while trying to verify candidate authority certificate kubernetes) Apr 13 22:27:07 test-b kubelet: E0413 22:27:07.788632 4387 reflector.go:205] k8s.io/kubernetes/pkg/kubelet/kubelet.go:465: Failed to list *v1.Service: Get https://192.168.52.120:6443/api/v1/services?limit=500&resourceVersion=0: x509: certificate signed by unknown authority (possibly because of crypto/rsa: verification error while trying to verify candidate authority certificate kubernetes) 第一台主节点 正常工作后,添加第二台主节点,但一直报这个错,怎么破,这应该是CA证书的事,但之前的描述文件中会将所有节点的ip和hostname都添加 进去,保证证书是能够 这些访问的啊,然后进行不下去了
从现在问题来看, 从master1节点复制的证书是有问题的,至于哪里有,求大神帮忙解决,若方便的话,可以发我邮箱(qifei_work@163.com),谢谢!
窒息5年前 (2018-04-13)登录以回复