Moving from a High Availability Deployment to a Single Instance
Moving from a High Availability Deployment to a Single Instance
This topic provides instructions to follow should you need to move from a clustered, highly available Nexus Repository deployment to a single instance.
Container-Based Instructions
- Scale replicas to 0 in the
deployment.ymlor using the kubectl. - In your
$data-dir/sonatype-work/nexus3/etc/nexus.properties, setnexus.datastore.clustered.enabledtofalse. - Set
nexus.datastore.enabledtotrue(required to use the PostgreSQL database). - Set replicas to
1in thedeployment.ymlor using the kbectl.
Non-Container-Based Instructions
- Stop Nexus Repository instances.
- In the
$data-dir/sonatype-work/nexus3/etc/nexus.propertiesfile for the instance, turn back on, set thenexus.datastore.clustered.enabledtofalse. - In this same instance, set
nexus.datastore.enabledtotrue(required to use the PostgreSQL database). - Start the Nexus Repository instance.