Scale your cluster
How to scale your UltiHash cluster based on your needs
Scaling the UltiHash cluster allows you to adjust the number of replicas for core services, such as the storage and deduplicator components, based on workload demand. You may need to scale when workloads increase, resource utilisation remains high, or to improve redundancy and high availability. By increasing the number of replicas, you can handle more concurrent requests, improve throughput, and reduce the impact of node or pod failures. UltiHash is deployed via a Helm chart, which lets you update replica counts for each service and roll out changes across the cluster.
How to scale
To scale the storage and deduplicator services:
Update the replica counts using either your values.yaml file or the --set flags in the Helm command.
Run the following command:
helm upgrade <release_name> oci://registry.ultihash.io/stable/ultihash-cluster \
-n <namespace> \
--set storage.replicas=3,deduplicator.replicas=3
Replace <release_name> with your Helm release name.
Replace <namespace> with the Kubernetes namespace where UltiHash is deployed.
Adjust the replica counts (3 in the example above) as needed.
To verify that the replicas have been updated, run:
kubectl get pods -n <namespace>
This will display the current state of all pods in the namespace, showing the updated replica counts for each service.
Last updated
Was this helpful?