Controllers for Core Resources
It is possible to create Controllers for Core Resources, or for Resources defined outside your project.
kubebuilder create api --group apps --version v1 --kind Deployment
Failing Scaffold Tests
When creating controllers for core and existing types, it may be necessary to modifythe scaffold tests before they pass.
This is because the empty object may not be valid as required fields are not set by the scaffolding.
当前内容版权归 kubebuilder.io 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 kubebuilder.io .