Chapter 8: Using Helm with the Operator Framework
Here are some answers to the questions presented in this chapter:
- An operator works by leveraging a custom controller and custom resources. When a new custom resource is created, the operator will perform the logic implemented by the custom controller. Changes to the custom resource also trigger the controller logic. Operators are typically implemented to install and manage the life cycle of an application.
- When using the Helm CLI, you must execute the
uninstallcommands from the command line. However, when using a Helm-based operator, these commands are performed automatically when you
deletea custom resource. When using a Helm-based operator, you don’t have to run any Helm CLI commands locally.
With regard to the application life cycle, the Helm CLI allows users to roll back to a previous revision, while the Helm operator does not allow this because it does not...