Deploy Object Storage on OpenShift nodes with PersistentVolumes
Deploy the Object Storage service (swift) on OpenShift nodes by using PersistentVolumes (PVs) for storage. A default deployment uses at least two swiftProxy replicas and three swiftStorage replicas. You can adjust these values to distribute storage across more nodes and disks.
About this task
The ringReplicas value defines the number of object copies in the cluster. For example, if you set ringReplicas: 3 and swiftStorage/replicas: 5, every object is stored on 3 different PersistentVolumes (PVs), and there are 5 PVs in total.
- Limitations
-
- The
PersistentVolumesused for Object Storage must be formatted with the XFS file system. The Object Storage service stores metadata in XFS extended attributes (xattrs), which require XFS for reliable support. The Object Storage service does not support other file systems. - Use only local disks for Object Storage
PersistentVolumes. The Object Storage service does not support network-attached storage, including NFS.
- The
- Considerations
-
- When you increase the number of
swiftStoragereplicas, theswift-operatorautomatically rebalances the rings to distribute data across the newPersistentVolumes. Verify that the ring rebalance has completed successfully and all data has been moved to its new location before performing another rebalance. For more information, see Rebalance Object Storage rings.
- When you increase the number of