Upgrade the Ansible Automation Platform Operator
To upgrade to the latest version of Ansible Automation Platform Operator on OpenShift Container Platform, you can use the following procedure:
Before you begin Copy linkLink copied!
- Read the Release notes for your target version.
- For existing deployments only: You must deploy your automation controller and automation hub instances to the same, single namespace before upgrading. For more information see, Migrating from one namespace to another.
- Review the Backup and restore in an OpenShift environment section and backup your services:
- AutomationControllerBackup
- AutomationHubBackup
- EDABackup
Upgrading from Event-Driven Ansible 2.4 is not supported. If you are using Event-Driven Ansible 2.4 in production, contact Red Hat before you upgrade.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
You can confirm you have upgraded successfully by navigating to , here under Ansible Automation Platform you can verify the version number matches your target version.
Additionally, go to your Ansible Automation Platform Operator deployment and click to verify if all instances upgraded correctly. All pods should display either a Running or Completed status, with no pods displaying an error status.
Create Ansible Automation Platform custom resources Copy linkLink copied!
After upgrading to the latest version of Ansible Automation Platform Operator on OpenShift Container Platform, you can create an Ansible Automation Platform custom resource (CR) that specifies the names of your existing deployments, in the same namespace.
About this task Copy linkLink copied!
The following example outlines the steps to deploy a new Event-Driven Ansible setup after upgrading to the latest version, with existing automation controller and automation hub deployments already in place.
The Appendix contains more examples of Ansible Automation Platform CRs for different deployments.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Navigate to your Ansible Automation Platform Operator deployment and click to verify whether all instances have deployed correctly. You should see the Ansible Automation Platform instance and the deployed AutomationController, EDA, and AutomationHub instances here.
Alternatively, you can verify whether all instances deployed correctly by running oc get route in the command line.