Updating your Business Automation Insights custom resource
You can update your IBM Business Automation Insights custom resource (CR) by passing new configuration parameter values in the YAML file and running the oc apply command. You do not need to scale down operators, nor to delete Kubernetes jobs and pods.
About this task
- Updates to bai_configuration can trigger Flink job restarts and may cause BAI data inconsistency. Before making configuration changes (such as enabling/disabling jobs, filters, emitters, or changing parallelism), ensure that either Flink High Availability (HA) is enabled or a savepoint-based recovery path is configured. For more information, see Restarting from a checkpoint or savepoint and Enabling Flink Job Manager high availability.
- For some parameters, you cannot change the value that you set at initial installation. For a full list of the configuration parameters, see the reference tables in Business Performer Center parameters.
Updates to the custom resources (CR) overwrite the deployed resources during the operator control loop (observe, analyze, act), which occurs as a result of this loop constantly watching the state of the Kubernetes resources. If you choose to modify the installed software, use the same CR YAML file that you deployed with the operator to make the updates (for example, my_bai_cr.yaml).
In code lines, the NAMESPACE,
bai_namespace, or ${NAMESPACE} placeholder is
the namespace where Business Automation Insights is deployed. The
CR_NAME or
custom_resource_name placeholder is the name of the custom
resource that was used to deploy IBM Business Automation Insights.