Managed Service Maintenance
Some managed service providers report pending maintenance for a service. Maintenance is a change the provider can't roll out without your consent, usually because the service may be briefly unavailable while it is applied. A typical example is an image update that fixes security vulnerabilities (CVEs).
Codesphere never applies maintenance on its own. You see what is pending and decide when to apply it.
Spotting pending maintenance
Open the Managed Services page of your Resource Group. When a service has pending maintenance, its Status column shows Maintenance available with a wrench icon below the regular status. The service keeps running normally until you apply it.
Reviewing the maintenance
Open the settings of the service. The Overview tab has a Maintenance section with two rows:
- Status: Pending if there is maintenance to apply, or Up to Date if there isn't.
- Changes: One entry per pending item. The provider describes what changes and how the service is affected while it is applied, for example a restart. When nothing is pending, it says the service is up to date.
The section is missing if the provider of the service doesn't support maintenance.
Applying the maintenance
- In the Maintenance section, click Apply Maintenance. The button is only enabled while maintenance is pending.
- Confirm the dialog. Codesphere asks the provider to apply all pending items at once. You can't apply only some of them.
- A Maintenance started notification appears as soon as the provider has started the rollout. Codesphere doesn't wait for it to finish.
Plan for a short downtime. The service may be unavailable until the maintenance is done. Read the descriptions under Changes to see what to expect, and pick a time when that is acceptable for your applications.
Once the provider has applied an item, it disappears from the list. When nothing is left, the section shows Up to Date and the hint in the table goes away.
If the service has backups enabled, check that a recent backup exists in the Backups tab before you apply maintenance. See Managed Service Backups.
When applying fails
If the provider can't start the maintenance, the Maintenance section shows an error and nothing is changed. The most common cases are:
- The service is busy or changed in the meantime. For example, a backup is running, or someone changed the service while you had its settings open. Reload the page and try again once the backup is done.
- The service is not healthy enough for maintenance. The provider only rolls out maintenance on a healthy service. Wait until the service is healthy again and try later.
Permissions
You need permission to manage the managed services of the team to see and apply maintenance. This is the same permission you need to update a service.