Scale a High Availability Cluster¶
This guide walks through adding a node to an existing Ella IMS high-availability cluster, and removing one.
Prerequisites¶
- A running HA cluster deployed (see Deploy a High Availability Cluster).
- On Kubernetes, the
values.yamlof the release, and its chart version,<version>, fromhelm list -n ella.
Add a node¶
- Prepare a host with Ella IMS installed per the Install guide, with a
clusterblock in the configuration file. - Open the Cluster page on any node in the cluster.
- Click Add Node, click Create Token, and copy the token.
- Start Ella IMS on the new host.
- Open the new node's UI in a browser. Click Join an existing cluster instead, paste the token, and click Join.
- On the HSS and the PCRF, accept the new node's Diameter host. Add its SIP address to the P-CSCF addresses of the core network.
- On the leader's Cluster page, verify the new node appears and is shown as Healthy.
- Add a Kubernetes node for the new pod, with a second interface, as for the others.
-
In
values.yaml, setreplicasto4, and upgrade the release:helm upgrade ella-ims oci://ghcr.io/ellanetworks/charts/ella-ims --version <version> --namespace ella -f values.yaml -
On the HSS and the PCRF, accept the new pod's Diameter host. Add its SIP address to the P-CSCF addresses of the core network.
- On the leader's Cluster page, verify the new node appears and is shown as Healthy.
Remove a node¶
- Open the leader's Cluster page.
- In the node's Node actions menu, click Drain this node. Wait until its Drain column shows Drained.
- In the same menu, click Remove from cluster. For a node that is down for good, check Force remove (skip drain).
- Remove the node from the HSS, the PCRF and the P-CSCF addresses of the core network.
- Open the leader's Cluster page.
- In the Node actions menu of the node with the highest pod number, click Drain this node. Wait until its Drain column shows Drained.
- In the same menu, click Remove from cluster.
-
In
values.yaml, setreplicasto3, upgrade the release, and delete the pod's volume:helm upgrade ella-ims oci://ghcr.io/ellanetworks/charts/ella-ims --version <version> --namespace ella -f values.yaml kubectl delete pvc data-ella-ims-3 -n ella -
Remove the node from the HSS, the PCRF and the P-CSCF addresses of the core network.