kubeConfig, err := clientcmd.BuildConfigFromFlags("", config)

  

clientSet := kubernetes.NewForConfigOrDie(kubeConfig)

 

 

 

参考链接:

https://github.com/kubernetes/client-go

相关文章:

  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
  • 2021-06-20
  • 2022-12-23
猜你喜欢
  • 2021-06-23
  • 2021-11-03
  • 2022-02-12
  • 2021-05-25
  • 2022-12-23
  • 2021-08-27
  • 2021-11-20
相关资源
相似解决方案