Configure Redis
When you create an Ansible Automation Platform instance through the Ansible Automation Platform Operator, standalone Redis is assigned by default. If you would prefer to deploy clustered Redis, you can use the following procedure.
Before you begin
- You have installed an Ansible Automation Platform Operator deployment.
About this task
Switching Redis modes on an existing instance is not supported and can lead to unexpected consequences, including data loss. To change the Redis mode, you must deploy a new instance.
Procedure
- Log in to Red Hat OpenShift Container Platform.
- Navigate to .
- Select your Ansible Automation Platform Operator deployment.
- Select the Details tab.
- On the Ansible Automation Platform tile click .
- For existing instances, you can edit the YAML view by clicking the ⋮ icon and then .
- Change the redis_mode value to "cluster".
- Click , then .
- Click to expand Advanced configuration.
- For the Redis Mode list, select Cluster.
- Configure the rest of your instance as necessary, then click .
Results
Your instance deploys with a cluster Redis with 6 Redis replicas as default.
You can modify your automation hub default redis cache PVC volume size, for help with this see, Modifying the default redis cache PVC volume size automation hub.