client-go failed to find any PE

2020-05-25  本文已影响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
上一篇下一篇

猜你喜欢

热点阅读