Deploy Object Storage on external data plane nodes
Deploy the Object Storage service (swift) on external data plane nodes for large deployments with extensive storage. The proxy service runs on the control plane while the storage services run on the data plane nodes.
About this task
If you do not want to use persistent volumes for data storage, set swiftStorage replicas to 0 in the OpenStackControlPlane CR. When initially creating the OpenStackControlPlane CR, you must also set swiftProxy replicas to 0. This is necessary because ring building is not possible until data plane nodes are defined, and the proxies for the Object Storage service require properly built rings with at least the configured number of replica devices to start. Once the data plane is deployed, you can then scale the swiftProxy replicas to the number you want.
apiVersion: core.openstack.org/v1beta1
kind: OpenStackControlPlane
metadata:
name: openstack-control-plane
namespace: openstack
spec:
...
swift:
enabled: true
template:
swiftProxy:
replicas: 0
swiftRing:
ringReplicas: 3
swiftStorage:
replicas: 0
To deploy and run the Object Storage services on data plane nodes, first you enable DNS forwarding to resolve data plane host names in the control plane pods, and then you create an OpenStackDataPlaneNodeSet CR with the following properties:
- The
swiftservice - A list of disks to be used for Object Storage service storage