项目初始结构通过kubebuilder(https://github.com/kubernetes-sigs/kubebuilder) 生成
kubebuilder使用文档:https://book.kubebuilder.io/cronjob-tutorial/cronjob-tutorial.html
kubebuilder init --domain volcengine.com --repo https://github.com/bytedance/monolith/blob/master/deploy --skip-go-version-check
kubebuilder create api --group mlplatform --version v1 --kind MLService --controller --resource
配置好集群kubeconfig后执行以下命令:
make deploy # 安装CRD,部署controller