Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
575 views
in Technique[技术] by (71.8m points)

kubernetes client-go 中的 rest.config 如何 转换成 api.config

各位好, 我现在使用 aws 的 集群,他的sdk生成的是 一个来自 "k8s.io/client-go/rest" 这样一个库的 rest.Config , 不过在我们平时创建的kubeconfig 都是和 "k8s.io/client-go/tools/clientcmd" 基于这里的 api.config 现在我遇到个问题,我需要 api.config 这样的结构, 但两种config差异非常大, 不知道如何转换,所以特来求助


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...