Enable Ceph RADOS Gateway Object Storage#
Pelagia enables you to deploy Ceph RADOS Gateway (RGW) Object Storage instances and automatically manage its resources such as users and buckets.
Pelagia has an integration for Ceph Object Storage with OpenStack Object Storage (Swift) provided by Rockoon.
Ceph RGW Object Storage parameters#
name- Mandatory. Ceph Object Storage instance name.usedForOpenstack- Optional. Enables consumption of the current Ceph RGW instance by OpenStack, which allows adding the required OpenStack parameters to the Ceph RGW configuration.auxiliaryService- Optional. Enables the current Ceph RGW instance to operate without aStorageClassand external API access. Useful for auxiliary instances, such as a Ceph RGW multisite replication daemon or an instance providing Ceph RGW admin API access.servedByIngress- Optional. Enables the current Ceph RGW instance to be used by the Ingress controller. Deprecated in favor of the Gateway APIHTTPRoutes.spec- Mandatory. Represents the RookCephObjectStorespecification. For details, see CephObjectStore CRD and CephObjectStore API specification.
Enable Ceph RGW Object Storage#
- Open the
CephDeploymentresource for editing:Substitutekubectl -n pelagia edit cephdpl <name><name>with the name of yourCephDeployment. -
Update the
objectStorage.rgwsection specification using the configuration reference above:For example:
3. Save the changes and exit the editor.rgw: name: rgw-store dataPool: deviceClass: hdd erasureCoded: codingChunks: 1 dataChunks: 2 failureDomain: host metadataPool: deviceClass: hdd failureDomain: host replicated: size: 3 gateway: allNodes: false instances: 3 port: 80 securePort: 8443 preservePoolsOnDelete: false