Go

Building a Kubernetes Client in Go

Building a Kubernetes Client in Go defer Conclusion() Now I have the task to build a Kubernetes client in Go. The requirements are something like this: having an existing Kubernetes cluster it’s required a program to create or replace resources such as ConfigMaps, Secrets, Services and Deployments. If you know the resources to create, for example a ConfigMap, it’s not a big deal, just use the Kubernetes clientset (kubernetes.Clientset) from github.

Lessons Learned: Devendorize and Modularize a Go Project

defer Conclusions() This week I’ve been working on remove all the vendors of a massive Go project and make it use Go modules. It’s not an easy task considering that it depends of almost 400 packages, many of such packages with different versions and using packages from Terraform and Kubernetes that are also massive consumers of external packages and provides a large amount of them. Here are my lessons learned in the process of devendorize and modularize a Go project.