# 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

1. Scale replicas to 0 in the `deployment.yml` or using the kubectl.
2. In your `$data-dir/sonatype-work/nexus3/etc/nexus.properties`, set `nexus.datastore.clustered.enabled` to `false`.
3. Set `nexus.datastore.enabled` to `true` (required to use the PostgreSQL database).
4. Set replicas to `1` in the `deployment.yml` or using the kbectl.

## Non-Container-Based Instructions

1. Stop Nexus Repository instances.
2. In the `$data-dir/sonatype-work/nexus3/etc/nexus.properties` file for the instance, turn back on, set the `nexus.datastore.clustered.enabled` to `false`.
3. In this same instance, set `nexus.datastore.enabled` to `true` (required to use the PostgreSQL database).
4. Start the Nexus Repository instance.
