Skip to main content
Version: 38.0.0

Automatic Updates

Default Behaviour

a9s Service Broker allows operators to allow or forbid the service instance user to block automatic updates.

By default the automatic updates property for the service instance is set to false. This results in all service instances being updated automatically when the operators starts the update process for all service instances.

Forbbiding Automatic Updates

Description

By enabling the service instance user to block automatic updates, the users will be able to manually decide which instance will get updated and which instance will not.

However, when manually updating service instances with the CLI, service instance user will have to add the force_update parameter to their command.

cf update-service MY_SERVICE -c '{ "force_update": true }'

The service instance user will have to manually update their service instances when:

  • A new Release is installed
  • A new Stemcell is available

NOTE

  1. If there is no new release or stemcell, it is not required to add the force_update parameter when manually updating your instance.

  2. The operators can also ignore the configuration by running the force_deployment_updater errand: bosh run-errand force_deployment_updater. This command will update these instances regardless if the user allowed the update or not.

Installation

You can allow the service instance user to block the automatic update by using the ops/forbid-automatic-update-of-service-instance.yml ops file.