---
title: Add Additional Nodes to Create an HA Cluster
slug: turbine-installer/add-additional-nodes-to-create-an-ha-cluster
docTags: 
createdAt: 2025-06-16T13:57:28.958Z
---

:::hint{type="danger"}
This topic provides instructions on how to create a High Availability (HA) cluster and assumes you have already run the Turbine Platform Installer on the first node. Please see [Install Into an Embedded Kubernetes Cluster](docId\:p-pS6e57xMMP08pqNdgfm) if you have not yet installed on the first node.
:::

### HA considerations

- HA clusters require at least 3 nodes and the total number of nodes must be an odd number.
- Only one MongoDB pod can run on a node. For example, you need 3 nodes in a cluster if you want to go to 3 MongoDB pods to enable a replica set.
- The first node that the initial install is running on should be in the target group to start. The additional nodes should only be added to the target groups after they’ve been joined to the cluster.

To add additional nodes to a cluster:

1. From the Turbine Platform Installer UI, click the Cluster Management tab.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/tVPsHaNpwQzOnfFwlLkiO_clustermanagement.png" size="50" width="1173" height="553" position="center" showCaption="false"}

The Cluster Management page displays your installed nodes.

1. Click **Add a node**.
2. Under Add a Node, ensure that you have selected **Primary node** and then click **Copy command**.

&#x20;**Important!** The code generated here expires after time. Swimlane recommends that you always copy the code as you work to add additional nodes. Do not save the code for use later.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/O3uN3dIcgb7H308Rvg6Rt_copycommand.png" size="50" width="2000" height="842" position="center" showCaption="false"}

1. Go to your Command-Line Interface (CLI) and paste the copied command for your additional nodes.
2. **Note:** You can add multiple nodes simultaneously.
3. If your environment requires a proxy then the `additionalNoProxyAddresses` override option must include an IP range in CIDR notation that encompasses the new node's private IP. If it does not then you will need to update the installer override file to add the new node's private IP to the `additionalNoProxyAddresses` list and specify the override file when running the join node command on the new node, and then re-run the install command on *every other node* with the installer override file specified. Failure to ensure that all nodes have the updated `additionalNoProxyAddresses` list will result in cluster networking issues and issues with the Turbine platform. See the [Define Proxy Settings](docId:4rKkaZfIKDdzY_YovEyby) topic for more information on specifying proxy settings.
4. Repeat the steps above for each node you want to add to the cluster. Once you have 3 or more nodes you can continue to the next step.
5. Back in the Turbine Platform Installer UI, click the Application tab, and then click **Config**.
6. Scroll down to the heading **HA Settings**. Select **HA Environment** and click **Save config**.

   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/voAZAprRRy4eq8PlDYEya_saveconfig.png" size="44" width="1556" height="202" position="center" showCaption="false"}
7. Once you save the new configuration, you are prompted to view the new version. Click **Go to new version**.

   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/x1eeZUQcLyYRce40ICT5q_newversion.png" size="50" width="697" height="133" position="center" showCaption="false"}
8. On Version History, click **Deploy**.

   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/CUV8fsa_YIuXc6Sxxt27a_deploybutton.png" size="50" width="1884" height="636" position="center" showCaption="false"}
9. Return to the Application tab. Once the Application Status is *Ready* you have added the additional nodes to your HA Turbine environment.
10. Add the new nodes to the load balancer target groups.

::::hint{type="danger"}
**Known Issue: Mongo stuck during HA expansion**

If after adding nodes (Standalone → HA) the mongo-1 pod is stuck in Init:2/3, this is typically due to the replica set not expanding correctly from a single-node state.

**Workaround**

Restart Mongo to re-trigger replica set initialization.

*Run during a maintenance window (causes Mongo downtime).*

:::BlockQuote
kubectl scale sts mongo -n default --replicas=0
\# wait until all pods stop:
kubectl get pods -n default | grep mongo  &#x20;

kubectl scale sts mongo -n default --replicas=1
\# wait for mongo-0 to be Running:
kubectl get pods -n default -w | grep mongo

kubectl scale sts mongo -n default --replicas=3
kubectl get pods -n default -w | grep mongo
:::

**Expected**

Mongo initializes cleanly and all 3 members join the replica set.
::::

