使用client-go开发K8s
kubeConfig, err := clientcmd.BuildConfigFromFlags("", config)
clientSet := kubernetes.NewForConfigOrDie(kubeConfig)
参考链接:
kubeConfig, err := clientcmd.BuildConfigFromFlags("", config)
clientSet := kubernetes.NewForConfigOrDie(kubeConfig)
参考链接: