You can connect Anaconda Enterprise 5 (AE5) to your organization’s pre-existing Postgres or redis instance for both Gravity and BYOK8s installations. Connecting to an external Postgres or redis instance enables you to take advantage of multiple High Availability/Disaster Recovery (HA/DR) options your organization may already have in place. Connecting to an external Postgres instance that is hosted within the same cluster is also supported! For example; your organization can have a multi-namespace/region deployment of Postgres within your cluster that connects to AE5 via the service name. Combining this with Persistent Storage (dynamic block) and Managed Persistence enables AE5 to rapidly move from any failing node via standard Kubernetes pod scheduling.Documentation Index
Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Connecting to external Postgres
The following databases are automatically created in your Postgres instance:- Create an AE5 account with read/write access and set the account’s password.
- Open your
anaconda-enterprise-anaconda-platform.ymlfile and edit the following section:
- Save your changes, then restart all pods:
- Once the pods are in a running state, confirm all databases in Postgres have been created.
If pods show a crashloop state, inspect the pod logs. The most common cause of a crashloop state is a misconfiguration.
Openshift may require updating the environmental variables for the
anaconda-enterprise-ap-auth deployment if the anaconda_auth database is not created in Postgres.anaconda-enterprise-ap-auth deployment:
Connecting to external Redis
To connect to your external redis instance:- Open your
anaconda-enterprise-anaconda-platform.ymlfile and edit the following section:
- Save your changes, then restart all pods:
Optionally, you can connect to rediss for TLS connection through port 6379.