Migrate to the modular repository structure

Abstract

Update the repository structure of your Managed Cloud solution.

The Managed Cloud Containers solution now supports a modular repository structure. This structure lets you move non-customer-related code to the outside storage and makes it easier to upgrade your solution in the future.

You can view the current version of your Managed Cloud Containers solution to make sure your solution supports the modular structure: go to the Application repository and look for the solution.json file. If the repository does not contain the solution.json, and you want to migrate to the modular structure, you must follow the procedure described in this topic.

To upgrade to the modular repository structure:

  1. Follow the steps described in the Update Managed Cloud for containers manually topic.

  2. In the Application repository, go the roles folder and remove all folders except the folders from the upgrade package.

  3. In the Application repository, remove the version.txt file.

  4. If you have customized the Grafana dashboards, Prometheus alerts, and so on, manage these by following the steps in the Add a Prometheus alert topic.

  5. In the Infrastructure repository, go to the root folder and remove all folders except the folders from the upgrade package.

  6. In the Infrastructure repository, remove the version.txt file.