kubebuilder init --domain my.domain --repo my.domain/guestbook
kubebuilder create api --group webapp --version v1 --kind Guestbook
make install
make run
kubectl apply -f config/samples/
Build and push your image to the location specified by IMG:
make docker-build docker-push IMG=<some-registry>/<project-name>:tag
make deploy IMG=<some-registry>/<project-name>:tag
kubectl get guestbook
kubectl get guestbook -oyaml
- ... we could also add a shortname here and perform crud w kubectl api on that resource's shortname...
- ... we could add a label and select/delete/operate on, all custom resources which have that label ...
make uninstall
make undeploy