Too Long; Didn't Read
A common pattern is to extend the Kubernetes API by creating your own Custom Resource Definition. The MongoDB operator manages the custom resource and ensures the right kind of MongoDB instance will be created in response. The best options are kubebuilder or operator-sdk (which is in the process of refactoring to be based on kubbuilder) One way to work with custom resources in Go is to use a ClientSet as an easy way to import code.
Share Your Thoughts