Ceph Object Storage can be exposed to Kubernetes workloads via the Container Object Storage Interface (COSI), providing highly scalable and elastic storage for big‑data analytics, backup & restore, and machine‑learning scenarios. A BucketClass is required before users can provision buckets.
A BucketClass is a template resource that specifies the storage driver, authentication secret, and the deletion policy that will be applied to every bucket created from it.
| Requirement | Notes |
|---|---|
| Running Ceph cluster with RGW (S3) enabled | Internal (Rook-managed) or external cluster is acceptable. |
| Alauda Container Platform COSI plug‑ins | Both Alauda Container Platform COSI and Alauda Container Platform COSI for Ceph must be installed. |
| Kubernetes Secret containing Ceph RGW credentials | Prepared in Step 3 below. |
Choose one of the following:
| Option | Description |
|---|---|
| Internal Ceph | Ceph cluster deployed and managed inside the platform by the Rook Operator.See create a storage service for details. |
| External Ceph | Stand‑alone Ceph cluster reachable from the platform network. |
Install the following cluster plug‑ins:
Refer to Installing for exact commands.
COSI retrieves RGW credentials from a Kubernetes Secret. Pick one method depending on your Ceph deployment.
Create a CephObjectStoreUser in the rook‑ceph namespace:
Apply the manifest:
Retrieve the autogenerated Secret name (used later):
Obtain AccessKey, SecretKey, and RGW Endpoint.
Create a Secret in the target project/namespace and label it so the UI can discover it:
Important: The label
app=rook-ceph-rgwis mandatory for the platform UI to list the Secret.
Navigate to Storage → Object StorageClass and click Create Object StorageClass.
Select Ceph Object Storage as the driver.
Configure the following fields:
Delete).app=rook-ceph-rgw are shown).Click Create.
Create ceph-bucketclass.yaml with the correct Secret references:
Apply the manifest:
Verify the BucketClass:
Once the BucketClass is ready, you can create Bucket or BucketClaim resources referencing it, thereby provisioning S3‑compatible object storage for your applications.