Relative Content

Tag Archive for gokuberneteskubebuilder

kubernetes/kubebuilder multi version issue

Add v2 version to the existing v1 version and add a new field enable_log type of bool. When I update the CRD and create a v2 version of the CRD instance, the kubernetes API server prompts:

How to write an extendable Kubernetes operator

My company have won an open source project that involves creation of a Kubernetes operator to manage user workspaces for a web platform. We have an existing operator for another project that does the job, but it contains some project IP. I have been tasked to refactor out the generic functionality into a core package, and structure the module so that it is extendable. We are using Kubebuilder framework to create the operator. It’s also worth mentioning that, although I am an experienced software engineer, I am new to Go.