Accessing storage services supports two methods of integration: first, integrating distributed storage resources from other business clusters within the platform to ensure storage and business isolation for easier management and maintenance; second, connecting external Ceph storage resources for distributed storage use.
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.
Choose one of the following:
Distributed storage has been deployed in other business clusters, and a storage pool has been created. Please record the name of the storage pool for later integration use.
External Ceph storage outside the platform (version ≥ 14.2.3) has been created with a storage pool. Please record the name of the storage pool for later integration use.
Destination IP | Destination Port | Source IP | Source Port |
---|---|---|---|
IP of Ceph node | 3300, 6789, 6800-7300, 7480 | IP of all nodes in business cluster | any |
If the prepared storage is external Ceph storage, authentication information must be obtained using the following commands.
Parameter | Method of Acquisition |
---|---|
FSID | ceph fsid |
MON Component Information | ceph mon dump Must be in {name= IP} format, e.g. a=192.168.100.100:6789 . |
Admin Key | ceph auth get-key client.admin |
Storage Pool |
|
Data Storage Pool | (only needed for file storage) Use ceph fs ls command to get the data pools value. |
Note: The following steps take accessing external Ceph storage as an example, the operations for accessing distributed storage are similar.
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:
Parameter | Recommended Configuration |
---|---|
Channel | The default channel is stable . |
Installation Mode | Cluster : All namespaces in the cluster share a single Operator instance for creation and management, resulting in lower resource usage. |
Installation Place | Select Recommended , Namespace only support acp-storage. |
Upgrade Strategy | Manual : When there is a new version in the Operator Hub, manual confirmation is required to upgrade the Operator to the latest version. |
In the left navigation bar, click Storage Management > Distributed Storage.
Click Access Storage.
On the Access Configuration wizard page, select External Ceph.
Parameter | Description |
---|---|
Snapshot | When enabled, supports creating PVC snapshots and using snapshots to configure new PVCs for quick backup and restoration of business data. If snapshots were not enabled during storage access, you can still enable them later in the Operations section of the storage cluster details page as needed. Note: Please ensure that you have deployed the volume snapshot plugin for the current cluster before use. |
Network Configuration |
|
Other Parameters | Please fill in the authentication parameters for the external Ceph obtained in the prerequisites. |
On the Create Storage Class wizard page, complete the configuration and click Access.
Parameter | Description |
---|---|
Type | Based on the type of storage pool created above, the default corresponding storage class will be:
|
Reclaim Policy | Reclaim policy for persistent volumes.
|
Project Allocation | Projects that can use this type of storage. If there are currently no projects requiring this type of storage, you may choose not to allocate projects for now and update them later. |
Wait approximately 1-5 minutes for the successful integration.
Create Storage Classes: CephFS File Storage, CephRBD Block Storage
Developers using the above storage classes to create persistent volume claims can extend usage with volume snapshots and scaling features.
Note: If you need to maintain storage pools, storage device configurations, etc., for external storage, operations must be performed in the management platform of the storage cluster.