Deploying in External Mode
External mode is used to consume an existing Ceph storage service instead of creating a new local Ceph cluster in the current business cluster. You can either connect to distributed storage in another business cluster on the platform or integrate an external Ceph environment.
TOC
PrecautionsPrerequisitesPrepare PackagePrepare StorageOpen PortsObtain Authentication Information (External Ceph)ProcedureFollow-up ActionsPrecautions
Internal mode deployment and external mode deployment are mutually exclusive. Choose only one deployment method for a cluster.
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 Storage
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.
Open Ports
Obtain Authentication Information (External Ceph)
If the prepared storage is external Ceph storage, authentication information must be obtained using the following commands.
Procedure
Note: The following steps use external Ceph storage as an example. The process is similar when consuming distributed storage from another business cluster.
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:
Configure External Mode
-
In the left navigation bar, click Storage Management > Distributed Storage.
-
Click Access Storage.
-
On the Access Configuration wizard page, choose External Mode, and then select External Ceph.
-
On the Create Storage Class wizard page, complete the configuration and click Access.
-
Wait approximately 1-5 minutes for the successful integration.
Follow-up Actions
-
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.