Skip to content

Commit 37cd892

Browse files
committed
Document volume size limits for nexus-volume and nexus-shared
1 parent 55e5496 commit 37cd892

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

articles/operator-nexus/concepts-storage.md

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ status:
5050

5151
### StorageClass: nexus-shared
5252

53-
In situations where a shared file system is required, the *nexus-shared* storage class is available. This storage class provides a shared storage solution by enabling multiple pods in the same Nexus Kubernetes cluster to concurrently access and share the same volume. The *nexus-shared* storage class is backed by an NFS storage service. This NFS storage service (storage pool currently limited to a maximum size of 1TiB) is available per Cloud Service Network (CSN). Any Nexus Kubernetes cluster attached to the CSN can provision persistent volume from this shared storage pool. Nexus-shared supports both Read Write Once (RWO) and Read Write Many (RWX) access modes. What that means is that the workload applications can make use of either of these access modes to access the shared storage.
53+
In situations where a shared file system is required, the *nexus-shared* storage class is available. This storage class provides a shared storage solution by enabling multiple pods in the same Nexus Kubernetes cluster to concurrently access and share the same volume. The *nexus-shared* storage class is backed by an NFS storage service. This NFS storage service (storage pool currently limited to a maximum size of 1 TiB) is available per Cloud Service Network (CSN). Any Nexus Kubernetes cluster attached to the CSN can provision persistent volume from this shared storage pool. Nexus-shared supports both Read Write Once (RWO) and Read Write Many (RWX) access modes. What that means is that the workload applications can make use of either of these access modes to access the shared storage.
5454

5555
<!--- IMG ![Nexus Shared Volume](Docs/media/nexus-shared-volume.png) IMG --->
5656
:::image type="content" source="media/nexus-shared-volume.png" alt-text="Diagram depicting how nexus-shared provisions a volume for a workload in Nexus Kubernetes Cluster":::
@@ -61,7 +61,7 @@ Although the performance and availability of *nexus-shared* are sufficient for m
6161

6262
#### Read Write Once (RWO)
6363

64-
In Read Write Once (RWO) mode, the nexus-shared volume can be mounted by only one node or claimant at a time. ReadWriteOnce access mode still allows multiple pods to access the volume when the pods are running on the same node.
64+
In Read Write Once (RWO) mode, only one node or claimant can mount the nexus-shared volume at a time. ReadWriteOnce access mode still allows multiple pods to access the volume when the pods are running on the same node.
6565
```
6666
apiVersion: v1
6767
items:
@@ -89,7 +89,7 @@ items:
8989

9090
#### Read Write Many (RWX)
9191

92-
In Read Write Many (RWX) mode, the nexus-shared volume can be mounted by multiple nodes or claimants at the same time.
92+
In the Read Write Many (RWX) mode, multiple nodes or claimants can mount the nexus-shared volume at the same time.
9393
```
9494
apiVersion: v1
9595
items:
@@ -116,7 +116,7 @@ items:
116116
```
117117
### Examples
118118
#### Read Write Once (RWO) with nexus-volume storage class
119-
The below manifest creates a StatefulSet with PersistentVolumeClaimTemplate using nexus-volume storage class in ReadWriteOnce mode.
119+
This example manifest creates a StatefulSet with PersistentVolumeClaimTemplate using nexus-volume storage class in ReadWriteOnce mode.
120120
```
121121
apiVersion: apps/v1
122122
kind: StatefulSet
@@ -155,7 +155,7 @@ spec:
155155
storage: 10Gi
156156
storageClassName: nexus-volume
157157
```
158-
Each pod of the StatefulSet will have one PersistentVolumeClaim created.
158+
Each pod of the StatefulSet has one PersistentVolumeClaim created.
159159
```
160160
# kubectl get pvc
161161
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
@@ -244,7 +244,7 @@ spec:
244244
claimName: test-volume-rwx
245245
...
246246
```
247-
Once applied, there will be three replicas of the deployment sharing the same PVC.
247+
Once applied, there are three replicas of the deployment sharing the same PVC.
248248
```
249249
# kubectl get pvc
250250
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
@@ -278,6 +278,24 @@ Thu Nov 9 21:51:41 UTC 2023 -- test-deploy-rwx-fdb8f49c-wdgw7
278278
Thu Nov 9 21:51:42 UTC 2023 -- test-deploy-rwx-fdb8f49c-86pv4
279279
```
280280

281+
## Volume size limits and capacity management
282+
283+
PVCs created using the nexus-volume and nexus-shared have minimum and maximum claim sizes.
284+
285+
| Storage Class | Minimum PVC Size | Maximum PVC Size |
286+
| nexus-volume | 1 MiB | 12 TiB |
287+
| nexus-shared | None | 1 TiB |
288+
289+
> [!IMPORTANT]
290+
> Volumes that reach their consumption limit will cause out of disk space errors on the workloads that consume them. You must make sure that you provision suitable volume sizes for your workload requirements. You must monitor both the storage appliance and all NFS servers for their percentage storage consumption. You can do this using the metrics documented in the [list of available metrics](./list-of-metrics-collected.md).
291+
292+
- Both nexus-volume and nexus-shared PVCs have their requested storage capacity enforced as a consumption limit. A volume can't consume more storage than the associated PVC request.
293+
- All physical volumes are thin-provisioned. You must monitor the total storage consumption on your storage appliance and perform maintenance operations to free up storage space if necessary.
294+
- A nexus-volume PVC provisioning request fails if the requested size is less than the minimum or more than the maximum supported volume size.
295+
- Nexus-shared volumes are logically thin-provisioned on the backing NFS server. This NFS server has a fixed capacity of 1 TiB.
296+
- A nexus-shared PVC can be provisioned despite requesting more than 1 TiB of storage, however, only 1 TiB can be consumed.
297+
- It is possible to provision a set of PVCs where the sum of capacity requests is greater than 1 TiB. However, the consumption limit of 1 TiB applies; the set of associated PVs may not consume more than 1 TiB of storage.
298+
281299
## Storage appliance status
282300

283301
The following properties reflect the operational state of a storage appliance:

0 commit comments

Comments
 (0)