kubebuilder-demo
Basic getting started of kubebuilder SDK.
- To generate code,
$ make
- To install the CRD,
$ make install
- To run controller in Local,
$ make run
Without webhooks,
$ make run ENABLE_WEBHOOKS=false
Deploy Controller in cluster,
$ make docker-build docker-push IMG=<some-registry>/<project-name>:tag
$ make deploy IMG=<some-registry>/<project-name>:tag
- To install sample Crontab custom resource,
$ kubectl apply -f config/samples/