Delivery Verification

Integrate automated verification with your deployment to automatically verify new application versions based on errors, exceptions, and performance after deployment. You can promote a release to the next stage or restore your service with the auto rollback in seconds based on intelligence-based guidance.

circle-info

Note: OpsMx provides a repository containing all the sample files that are being used in this document to integrate automated verification with your deployment. Refer to the below link to access the sample files.

Pre-requisites:

  • OpsMx Profile

  • Service Account

circle-info

Note: Please note that the above pre-requisites get installed by default during the “ISD-Argo Full Installation” and “ISD-Argo Rollouts Installation”. For the modes of installation where Argo CD/Argo Rollout installation is not done using ISD installer then the pre-requisites need to be created manually.

Enable Verification:

Follow the instructions below to integrate automated verification with your deployment.

  1. Connect your log and metric sources on the ISD “Integrations” page. To add an integration as your data source to allow Autopilot to perform your log analysis, refer herearrow-up-right.

  2. Create Log and Metric templates. We support the following two modes of template creation.

    • Gitops mode template creation. For more information on how to create Log and Metric templates in git, refer herearrow-up-right.

    • Template creation in ISD UI. For more information on how to create Log and Metric templates in ISD UI refer herearrow-up-right.

  3. Create OpsMx Provider Configmap” with opsmx metric provider information, including Log and Metric templates as shown below. Sample “OpsMx Provider Configmap” yaml file is available herearrow-up-right. To create “OpsMx Provider Configmap” refer herearrow-up-right.

  4. Create an Analysis template as shown below. Specify the “OpsMx Provider Configmap” under the job section in the Analysis template. Sample "Analysis Template" is available herearrow-up-right. To create an Analysis Template, refer herearrow-up-right.

  5. Modify the rollout.yaml and include the analysis step as shown below. Sample rollout.yaml is available herearrow-up-right.

  6. Deploy the application. To deploy the application, refer herearrow-up-right.

    circle-info

    Note: Please make sure all the above configuration files are stored in the folder where the Rollouts.yaml manifest file is stored.

  7. If a newer version of application is deployed, Rollouts strategy will be invoked and analysis run will be triggered.

    circle-info

    Note: For the first version of application deployment, Rollout strategy is not invoked. The Rollout strategy is followed only when a newer version of the application is deployed.

  8. View the Analysis report. To view the Analysis report from Rollouts Dashboard, refer herearrow-up-right.

  9. For Advanced Configuration refer to the below sections.

Last updated