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: rust/operator-binary/src/crd/storage.rs
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -94,19 +94,24 @@ impl DataNodeStorageConfig {
94
94
.join(",")
95
95
}
96
96
97
-
/// Returns a list with the names of the pvcs to be used for nodes.
97
+
/// Returns a list with the names of the PVCs to be used for nodes.
98
98
/// The pvc names will be prefixed with the name given in the `pvc_name_prefix` argument.
99
99
///
100
100
/// There are two options when it comes to naming:
101
-
/// 1. Name the pvcs `data-0, data-1, data-2, ... , data-{n-1}`
102
-
/// ** Good, because consistent naming
103
-
/// ** Bad, because existing deployments (using release 22.11 or earlier) will need to migrate their data by renaming their pvcs
101
+
/// 1. Name the PVCs `data-0, data-1, data-2, ... , data-{n-1}`
102
+
/// - Good, because consistent naming.
103
+
/// - Bad, because existing deployments (using release 22.11 or earlier) will need to migrate
104
+
/// their data by renaming their PVCs.
104
105
///
105
-
/// 2. Name the pvcs `data, data-1, data-2, ... , data-{n-1}`
106
-
/// ** Good, if nodes only have a single pvc (which probably most of the deployments will have) they name of the pvc will be consistent with the name of all the other pvcs out there
107
-
/// ** It is important that the first pvc will be called `data` (without suffix), regardless of the number of pvcs to be used. This is needed as nodes should be able to alter the number of pvcs attached and the use-case number of pvcs 1 -> 2 should be supported without renaming pvcs.
106
+
/// 2. Name the PVCs `data, data-1, data-2, ... , data-{n-1}`
107
+
/// - Good, if nodes only have a single pvc (which probably most of the deployments will have)
108
+
/// they name of the pvc will be consistent with the name of all the other PVCs out there.
109
+
/// - It is important that the first pvc will be called `data` (without suffix), regardless
110
+
/// of the number of PVCs to be used. This is needed as nodes should be able to alter the
111
+
/// number of PVCs attached and the use-case number of PVCs 1 -> 2 should be supported
0 commit comments