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.
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.
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.
To create an "OpsMx Profile", referhere. Sample “OpsMx Profile” yaml file is available here.
To create a "Service Account", referhere. Sample “Service Account” yaml file is availablehere.
Enable Verification:
Follow the instructions below to integrate automated verification with your deployment.
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, referhere.
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, referhere.
Template creation in ISD UI. For more information on how to create Log and Metric templates in ISD UI refer here.
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 here. To create “OpsMx Provider Configmap” refer here.
Create anAnalysis template as shown below. Specify the “OpsMx Provider Configmap” under the job section in the Analysis template. Sample "Analysis Template" is available here. To create an Analysis Template, refer here.
Deploy the application. To deploy the application, refer here.
Note: Please make sure all the above configuration files are stored in the folder where the Rollouts.yaml manifest file is stored.
If a newer version of application is deployed, Rollouts strategy will be invoked and analysis run will be triggered.
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.
View the Analysis report. To view the Analysis report from Rollouts Dashboard, refer here.
For Advanced Configuration refer to the below sections.