You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/operator-nexus/concepts-storage.md
+24-6Lines changed: 24 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ status:
50
50
51
51
### StorageClass: nexus-shared
52
52
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.
:::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
61
61
62
62
#### Read Write Once (RWO)
63
63
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.
65
65
```
66
66
apiVersion: v1
67
67
items:
@@ -89,7 +89,7 @@ items:
89
89
90
90
#### Read Write Many (RWX)
91
91
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.
93
93
```
94
94
apiVersion: v1
95
95
items:
@@ -116,7 +116,7 @@ items:
116
116
```
117
117
### Examples
118
118
#### 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.
120
120
```
121
121
apiVersion: apps/v1
122
122
kind: StatefulSet
@@ -155,7 +155,7 @@ spec:
155
155
storage: 10Gi
156
156
storageClassName: nexus-volume
157
157
```
158
-
Each pod of the StatefulSet will have one PersistentVolumeClaim created.
158
+
Each pod of the StatefulSet has one PersistentVolumeClaim created.
159
159
```
160
160
# kubectl get pvc
161
161
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
@@ -244,7 +244,7 @@ spec:
244
244
claimName: test-volume-rwx
245
245
...
246
246
```
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.
248
248
```
249
249
# kubectl get pvc
250
250
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
278
278
Thu Nov 9 21:51:42 UTC 2023 -- test-deploy-rwx-fdb8f49c-86pv4
279
279
```
280
280
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
+
281
299
## Storage appliance status
282
300
283
301
The following properties reflect the operational state of a storage appliance:
0 commit comments