k8s版本1.17

自定义controller实例: https://github.com/kubernetes/sample-controller

代码生成文档: https://blog.openshift.com/kubernetes-deep-dive-code-generation-customresources/