client-go failed to find any PE
作者:
码二哥 | 来源:发表于
2020-05-25 13:13 被阅读0次
参考官网地址:
https://github.com/kubernetes/client-go/blob/master/examples/out-of-cluster-client-configuration/main.go
kubernetes 1.15.1 , client-go v0.15.10
1、错误异常
panic: tls: failed to find any PEM data in certificate input
goroutine 1 [running]:
image-deploy-actuator/pkg/k8sresources/utils/k8sutil.NewClientSet(0x235da28)
使用client-go链接k8s集群获取客户端clientset时,报的异常
2、当前现状
使用的config
image
3、解决措施
image
本文标题:client-go failed to find any PE
本文链接:https://www.haomeiwen.com/subject/pkhyahtx.html
网友评论