voyagermesh / voyager

🚀 Secure L7/L4 (HAProxy) Ingress Controller for Kubernetes
https://voyagermesh.com
Apache License 2.0
1.35k stars 134 forks source link

Use kubernetes/code-generator to generate clients #329

Closed tamalsaha closed 7 years ago

tamalsaha commented 7 years ago

https://medium.com/@mtreacher/writing-a-kubernetes-operator-a9b86f19bfb9

Workqueue example: https://github.com/kubernetes/client-go/tree/master/examples/workqueue https://github.com/kubernetes/community/blob/master/contributors/devel/controllers.md

Code Generator: https://blog.openshift.com/kubernetes-deep-dive-code-generation-customresources/

https://engineering.bitnami.com/articles/a-deep-dive-into-kubernetes-controllers.html https://engineering.bitnami.com/articles/kubewatch-an-example-of-kubernetes-custom-controller.html

CRD:

tamalsaha commented 7 years ago
tamalsaha commented 7 years ago

I have working pr for appscode/stash https://github.com/appscode/stash/pull/163

We just need to copy the process here.

tamalsaha commented 7 years ago

Use docker image to run generator https://github.com/tamalsaha/gengo-builder

tamalsaha commented 7 years ago

From horse's mouth: https://twitter.com/the1stein/status/906232016626225153