Implement a custom controller for k8s.
Using kubebuilder, implement a controller that manages Foo
, a upper-level resource for Deployment
.
See the diagram on this page for a description of how the custom controller works.
Generate CRD manifest and apply.
make install
If you want to run this on local Go.
make run
If you want to run this on Container.
make deploy