Create Standard Type Cluster
A standard-type cluster is the most typical deployment method for Ceph storage. It distributes data replicas across hard drives on different hosts, ensuring that if a single host fails, the data copies on other hosts can still maintain service availability.
TOC
Prerequisites
Prepare Package
-
Download the Alauda Container Platform Storage Essentials installation package corresponding to your platform architecture.
-
Upload the Alauda Container Platform Storage Essentials installation package using the Upload Packages mechanism.
-
Download the Alauda Build of Rook-Ceph installation package corresponding to your platform architecture.
-
Upload the Alauda Build of Rook-Ceph installation package using the Upload Packages mechanism.
Prepare Infrastructure
-
At least 3 nodes are required in the storage cluster.
-
Each node must have at least 1 blank hard disk or 1 unformatted hard disk partition available.
-
The available hard disk capacity is recommended to be greater than 50 G.
-
If you are using an attached Kubernetes cluster with Containerd as the runtime component, please ensure that the
LimitNOFILEparameter value in the/etc/systemd/system/containerd.servicefile is configured to1048576on all nodes of the cluster, to ensure successful deployment of distributed storage. For configuration instructions, please refer to Modifying Containerd Configuration Information.Note: When upgrading from versions earlier than v3.10.2 to the current version, if you need to deploy Ceph distributed storage on your custom Kubernetes cluster with Containerd as the runtime component, you must also set the
LimitNOFILEparameter value in the/etc/systemd/system/containerd.servicefile to1048576on all nodes of the cluster.
Precautions
Creating Storage Service and Accessing Storage Service only support selecting one method.
Procedure
Deploy Alauda Container Platform Storage Essentials
-
Login, go to the Administrator page.
-
Click Marketplace > OperatorHub to enter the OperatorHub page.
-
Find the Alauda Container Platform Storage Essentials, click Install, and navigate to the Install Alauda Container Platform Storage Essentials page.
Configuration Parameters:
(Optional) Deploy Alauda Build of LocalStorage
When utilizing the Selection Device method to add storage devices to your Ceph cluster, it is necessary to deploy the Alauda Build of LocalStorage Operator. This Operator is responsible for automatically discovering all hard disk devices across every node within the Kubernetes cluster and collecting comprehensive device information, thereby streamlining the storage integration process.
-
Login, go to the Administrator page.
-
Click Marketplace > OperatorHub to enter the OperatorHub page.
-
Find the Alauda Build of LocalStorage, click Install, and navigate to the Install Alauda Build of LocalStorage page.
Configuration Parameters:
Deploy Operator
-
Navigate to Administrator.
-
In the left sidebar, click Storage Management > Distributed Storage.
-
Click Configure Now.
-
In the Deploy Operator wizard page, click the Deploy Operator button at the bottom right.
-
When the page automatically advances to the next step, it indicates that the Operator has been deployed successfully.
-
If the deployment fails, please refer to the prompt on the interface Clean Up Deployed Information and Retry, and redeploy the Operator; if you wish to return to the distributed storage selection page, click Application Store, first uninstall the resources in the already deployed rook-operator, and then uninstall rook-operator.
-
Create Cluster
-
In the Create Cluster wizard page, configure the relevant parameters and click the Create Cluster button at the bottom right.
-
Click Advanced Configuration for advanced component configuration.
-
When the page automatically advances to the next step, it indicates that the Ceph cluster has been deployed successfully.
-
If the creation fails, you may click to clean up Created Information or Retry to automatically clean up the resources and recreate the cluster, or manually clean up resources according to the documentation Distributed Storage Service Resource Cleanup.
-
Create Storage Pool
-
In the Create Storage Pool wizard page, configure the relevant parameters and click the Create Storage Pool button at the bottom right.
If it is object storage, you also need to configure the following parameters:
-
When the page automatically advances to the next step, it indicates that the storage pool has been deployed successfully.
-
If the deployment fails, please refer to the interface prompts to check the core components, and then click Clean Up Created Information and Retry to recreate the storage pool.
-
-
Click Create Storage Pool. In the Details tab, you can view information about the created storage pool.
Related Operations
Create Stretch Type Cluster
For details, please refer to Create Stretch Type Cluster.
Cleanup Distributed Storage
For details, please refer to Cleanup Distributed Storage.