Common recommendations and suggestions
Any recommendations or good practices suggested by the Kubernetes community, such as how to to develop Operator pattern solutions or how to are good recommendations for those who are looking to build operator projects with operator-sdk. Also, see Operator Best Practices. However, here are some common recommendations.
Common Recommendations
Building your own operator commonly involves extending the Kubernetes API itself. It is helpful to understand exactly how Custom Resource Definitions interact with the Kubernetes API. Also, the Kubebuilder documentation on may be helpful to better understand these concepts as they relate to operators.
- Provide the images and tags used by the operator solution via environment variables in the :
- Manage your solutions using Status Conditionals
- Use when/if required
- If you will integrate your project with OLM then, also check its Best Practices section.