Kubernetes installation
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide provides a detailed walkthrough for setting up an UltiHash cluster in a Kubernetes environment, whether on-premises or in a cloud environment. The process is divided into four main steps:
Prerequisites: Gather the necessary credentials, tools, and environment configurations.
Cluster setup: Configure your Kubernetes cluster, including creating namespaces and provisioning secrets.
Helm installation: Deploy UltiHash using Helm, customizing the setup for your specific environment.
Post-installation: Verify the installation.
Before you begin the installation, ensure you have the following:
UltiHash Account: Sign up at and verify your email.
Credentials: After signing up on the UltiHash website, you will get the following credentials on :
Registry login and password (referred to as registry_login
and registry_password
).
Customer ID (referred to as customer_id
).
Access token (referred to as access_token
).
Monitoring token (referred to as monitoring_token
).
Kubernetes cluster:
Version: Ensure you have a Kubernetes cluster running version 1.20 or higher.
Controllers:
Ingress controller: Exposes the UltiHash cluster API endpoint outside the Kubernetes cluster.
CSI controller: Manages persistent volumes.
Note: You can use any Kubernetes version starting from 1.20, and any CSI controller that dynamically provisions and attaches persistent volumes. For optimal performance, use a CSI controller that imposes the least disk performance degradation.
Local environment:
kubectl: Ensure Kubernetes command line tool kubectl
is installed and configured to access the cluster.
Helm: Install Kubernetes package manager Helm (version 3.x) to manage Kubernetes packages.
Namespace creation:
Create a Kubernetes namespace for the UltiHash installation:
Replace <namespace>
with your desired namespace name.
Secrets provisioning:
Registry credentials: Provision a secret in Kubernetes to store the UltiHash registry credentials:
Ultihash credentials and monitoring token: Create a secret in Kubernetes for the license key and monitoring token:
Helm chart deployment:
Deploy the Helm chart with a specific release name and namespace:
Replace <release_name>
and namespace
with your chosen names. values.yaml
should be configured as described below.
Component configuration:
Customize the values.yaml
file with the necessary configurations:
Storage class: Specify the storage class name created by your CSI controller.
Domain name: Enter a valid domain name for your UltiHash cluster.
Service replicas and storage size: Adjust the number of replicas and storage size for services like etcd
, entrypoint
, storage
, and deduplicator
based on your requirements.
Verification:
After deployment, verify that all services are running correctly by checking the Kubernetes namespace:
Replace <namespace>
with the namespace where UltiHash cluster has been deployed.
Ensure that all pods are either in the Running
or in the Completed
state with no errors.
Get access to the UltiHash cluster:
Obtain the UltiHash root user credentials:
Replace <release_name>
and <namespace>
with the Helm release name and namespace name correspondingly.
Use AWS CLI and AWS SDK to interact with the UltiHash cluster:
Replace <cluster-url>
with the appropriate scheme: either https://<domain_name>
or http://<domain_name>
, depending on whether your entrypoint.ingress
object in the Helm values has been configured with or without TLS. The <domain_name>
corresponds to the domain name chosen for the UltiHash cluster, as set in the entrypoint.ingress.host
object.
Replace <namespace>
with the namespace name. Replace <registry_login>
, and <registry_password>
with the appropriate values obtained from your on the UltiHash website.
Replace <namespace>
with the namespace name. Replace <customer_id>,<access_token>,
and <monitoring_token>
with the corresponding values found on your .