Deploy Your Simplyblock Now
Install Simplyblock Operator Helm Chart
Running Simplyblock in Kubernetes is as easy as deploying the operator Helm chart. It will install multiple components, but most importantly the storage node pods, as well as our Kubernetes CSI driver.
> helm repo add simplyblock https://install.simplyblock.io/helm/csi
> helm repo update
> helm upgrade --install -n simplyblock simplyblock simplyblock/spdk-csi \
--create-namespace \
--set operator.enabled=trueCreate the Storage Plane
With the Simplyblock Operator installed, you can create a storage plane using Kubernetes Custom Resources. This automatically installs and configures the storage nodes and the CSI driver.
> curl -fsSL https://sblk.xyz/cluster-deploy | kubectl apply -f -
Install Storage Nodes
Storage nodes are the workhorses of a Simplyblock cluster. They store and manage data and parity chunks. You need at least one node. For production use, you must have at least four nodes.
> pip install sbctl --upgrade
> curl -s -L https://install.simplyblock.io/scripts/prerequisites-sn.sh | bash
> sbctl storage-node configure --max-size=<max-provisionable-size> --max-lvol=<max-logical-volumes>
> sbctl storage-node deployInstall Management Nodes
Management nodes manage and monitor the storage cluster. They provide the provisioning API and self-healing capabilities. You need at least one node. For production use, you must have at least three nodes.
> pip install sbctl --upgrade
> curl -s -L https://install.simplyblock.io/scripts/prerequisites-sn.sh | bash
> sbctl cluster create
>
> # Repeat for all storage nodes
> sbctl storage-node add <cluster-uuid> <stor-node-ip>:5000 <mgmt-if>
>
> sbctl cluster activate <cluster-uuid>
> sbctl pool add <cluster-uuid> <pool-name>
> sbctl cluster get-secret <cluster-uuid>Install Simplyblock CSI Driver Helm Chart
Our Kubernetes CSI driver seamlessly integrates simplyblock into Kubernetes. If you want your Kubernetes Persistent Volumes to be able to use simplyblock, quickly install the CSI driver and start provisioning.
> CLUSTER_ID="<cluster-uuid>"
> CLUSTER_SECRET="<cluster-secret>"
> CNTR_ADDR="<control-plane-addr>"
> POOL_NAME="<pool-name>"
> helm repo add simplyblock-csi https://install.simplyblock.io/helm
> helm repo update
> helm install -n simplyblock-csi --create-namespace simplyblock-csi simplyblock-csi/spdk-csi \
--set csiConfig.simplybk.uuid=${CLUSTER_ID} \
--set csiConfig.simplybk.ip=${CNTR_ADDR} \
--set csiSecret.simplybk.secret=${CLUSTER_SECRET} \
--set logicalVolume.pool_name=${POOL_NAME}System Recommendations:
- 2U server with 2 CPU sockets
- Each socket supplied with 128 GB RAM
- Each CPU offering 32 physical cores
- 11-12x PCIe 4.0 NVMe devices, up to 8 TB each
- Dual 100 GBit/s NIC per socket configured as a LAG. Preferably Mellanox Connect-X for RoCEv2