Without using kubectl, I want to use client-go to deploy deployment/services described in yaml files. Which approach is the best: clientset, rest or dynamic? I do not want to parse yaml file and set every attributes of Deployment objects in clientset. So is there a way just load yaml config(maybe convert to json format) and apply it directly ?
-
ok, I find the solution in this : stackoverflow.com/questions/47116811/…kyleqian– kyleqian2019-08-18 12:37:17 +00:00Commented Aug 18, 2019 at 12:37
-
Possible duplicate of client-go: parse kubernetes json files to k8s structurescoderanger– coderanger2019-08-18 22:41:36 +00:00Commented Aug 18, 2019 at 22:41
Add a comment
|