9.3. Object Storage data plane service configuration reference
When you deploy the Object Storage service (swift) on external data plane nodes, you can customize the service configuration by including additional ConfigMap or Secret CRs in your OpenStackDataPlaneService CR. This reference shows the default service configuration and the configuration required for multiple ring ConfigMaps.
The default service configuration is as follows:
apiVersion: dataplane.openstack.org/v1beta1
kind: OpenStackDataPlaneService
metadata:
name: <swift-customized>
spec:
playbook: osp.edpm.swift
dataSources:
- secretRef:
name: swift-conf
- configMapRef:
name: swift-storage-config-data
- configMapRef:
name: swift-ring-files
edpmServiceType: swift
When you use multiple ring ConfigMaps to manage rings that exceed 1 MiB in total size, you must reference all ring ConfigMaps in the dataSources section:
apiVersion: dataplane.openstack.org/v1beta1
kind: OpenStackDataPlaneService
metadata:
name: <swift-customized>
spec:
playbook: osp.edpm.swift
dataSources:
- secretRef:
name: swift-conf
- configMapRef:
name: swift-storage-config-data
- configMapRef:
name: swift-ring-files-0
- configMapRef:
name: swift-ring-files-1
edpmServiceType: swift
When you create a custom service, use a custom service name, for example, swift-customized, and add the custom service name to the list of services in your OpenStackDataPlaneNodeSet CR.
You can also customize the Object Storage service by applying different configurations to different node sets. For example, if you have two different types of nodes with different performance characteristics, you can use different configuration files with specific settings for each node set.