9.5. Object Storage service capacity scaling
Scale your Object Storage service (swift) cluster capacity by adding storage devices when usage exceeds capacity thresholds or performance degrades. Understanding storage replicas and ring replicas helps you choose between OpenShift or data plane node scaling approaches.
9.5.1. Storage capacity and data redundancy 复制链接链接已复制到粘贴板!
The Object Storage service uses two separate configuration values:
swiftStorage/replicas-
The total number of storage devices in your cluster. This is configured in the
spec.swift.template.swiftStorage.replicasfield of theOpenStackControlPlaneCR. For OpenShift deployments, this is the number ofPersistentVolumes. For external data plane node deployments, this is the total number of disks across all nodes. swiftRing/ringReplicas-
The number of copies of each object that the Object Storage service maintains for data durability. This is configured in the
spec.swift.template.swiftRing.ringReplicasfield of theOpenStackControlPlaneCR. This value is typically set to 3, which ensures data survives the loss of any two storage devices.
These values work independently. For example, if you configure ringReplicas: 3 and swiftStorage/replicas: 5, the Object Storage service distributes each object to 3 of the 5 available storage devices. This configuration provides both data redundancy and capacity for growth.