Ceph controller enables you to deploy RADOS Gateway (RGW) Object Storage instances and automatically manages its resources such as users and buckets. Ceph Object Storage has an integration with OpenStack Object Storage (Swift) in Mirantis OpenStack for Kubernetes (MOS).
To enable the RGW Object Storage:
Select from the following options:
If you do not have a management cluster yet, open
kaascephcluster.yaml.template
for editing.
If the management cluster is already deployed, open the
KaasCephCluster
CR for editing. Select from the following options:
If the Ceph cluster is placed in the management cluster:
kubectl edit kaascephcluster
If the Ceph cluster is placed in a managed cluster:
kubectl edit kaascephcluster -n <managedClusterProjectName>
Substitute <managedClusterProjectName>
with a corresponding value.
Using the following table, update the rgw
section specification as
required:
Parameter |
Description |
---|---|
|
Ceph Object Storage instance name. |
|
Object storage data pool spec that should only contain rgw:
dataPool:
replicated:
size: 3
metadataPool:
replicated:
size: 3
where rgw:
dataPool:
erasureCoded:
codingChunks: 1
dataChunks: 2
|
|
Object storage metadata pool spec that should only contain
|
|
The gateway settings corresponding to the
For example: gateway:
allNodes: false
instances: 1
port: 80
securePort: 8443
|
|
Defines whether to delete the data and metadata pools in the |
|
Optional. To create new Ceph RGW resources, such as buckets or users, specify the following keys. Ceph controller will automatically create the specified object storage users and buckets in the Ceph cluster.
|
For example:
rgw:
name: rgw-store
dataPool:
erasureCoded:
codingChunks: 1
dataChunks: 2
failureDomain: host
metadataPool:
failureDomain: host
replicated:
size: 3
gateway:
allNodes: false
instances: 1
port: 80
securePort: 8443
preservePoolsOnDelete: false