Skip to content

Commit 6f6e175

Browse files
(DOCSP-7255): Use 'Gi' instead of 'G' for persistent volumes. (#105)
* (DOCSP-7255): Use 'Gi' instead of 'G' for persistent volumes. * DOCSP-7255 - Change remaining 'G' to Gi
1 parent 36c3376 commit 6f6e175

15 files changed

+50
-49
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ handouts/mongodb-logo-eps-converted-to.pdf
2323
source/figures/
2424
giza.log
2525
backups/*
26+
.vscode/*

source/includes/list-tables/rs-resource-base-options.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484

8585
If this value is ``true``, then
8686
:setting:`spec.podSpec.persistence.single` is set to its
87-
default value of ``16G``.
87+
default value of ``16Gi``.
8888

8989
To change your |k8s-pvcs| configuration, configure the
9090
following collections to meet your deployment requirements:

source/includes/options-k8s-replica-set.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ inherit:
242242
replacement:
243243
component: :term:`sharded cluster` shard member
244244
storedItem: data
245-
defaultStorage: 16G
245+
defaultStorage: 16Gi
246246

247247
---
248248
program: k8sRsConf
@@ -257,7 +257,7 @@ inherit:
257257
replacement:
258258
component: :term:`sharded cluster` shard member
259259
storedItem: journal
260-
defaultStorage: 1G
260+
defaultStorage: 1Gi
261261

262262
---
263263
program: k8sRsConf
@@ -272,7 +272,7 @@ inherit:
272272
replacement:
273273
component: :term:`sharded cluster` shard member
274274
storedItem: logs
275-
defaultStorage: 3G
275+
defaultStorage: 3Gi
276276

277277
---
278278
program: k8sRsConf

source/includes/options-k8s-shared.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ description: |
247247
.. example::
248248
249249
If this |k8s-mdbrsc| requires 4 gigabytes of memory, set
250-
this value to ``4G``.
250+
this value to ``4Gi``.
251251
252252
This value maps to the
253253
:k8sdocs:`limits field </reference/generated/kubernetes-api/v1.10/#resourcerequirements-v1-core>`
@@ -287,7 +287,7 @@ name: spec.podSpec.storage
287287
type: string
288288
directive: setting
289289
optional: true
290-
default: 16G
290+
default: 16Gi
291291
description: |
292292
Minimum storage capacity that must be available on a |k8s|
293293
|k8s-node| to host this {{component}} on |k8s|. This value is
@@ -297,7 +297,7 @@ description: |
297297
.. example::
298298
299299
If this |k8s-mdbrsc| requires 60 gigabytes of storage space, set
300-
this value to ``60G``.
300+
this value to ``60Gi``.
301301
replacement:
302302
component: :term:`standalone deployment`
303303

@@ -404,7 +404,7 @@ description: |
404404
.. example::
405405
406406
If this |k8s-mdbrsc| requires 60 gigabytes of storage
407-
space, set this value to ``60G``.
407+
space, set this value to ``60Gi``.
408408
409409
* - ``storageClass``
410410
- string
@@ -418,7 +418,7 @@ description: |
418418
419419
replacement:
420420
component: :term:`standalone deployment`
421-
defaultStorage: 16G
421+
defaultStorage: 16Gi
422422

423423
---
424424
program: _shared
@@ -463,7 +463,7 @@ description: |
463463
.. example::
464464
465465
If this |k8s-mdbrsc| requires 60 gigabytes of storage
466-
space, set this value to ``60G``.
466+
space, set this value to ``60Gi``.
467467
468468
* - ``storageClass``
469469
- string
@@ -478,7 +478,7 @@ description: |
478478
replacement:
479479
component: :term:`standalone deployment`
480480
storedItem: data
481-
defaultStorage: 16G
481+
defaultStorage: 16Gi
482482

483483
---
484484
program: _shared

source/includes/options-k8s-shared_cluster.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ name: spec.configSrvPodSpec.storage
224224
type: string
225225
directive: setting
226226
optional: true
227-
default: 5G
227+
default: 5Gi
228228
inherit:
229229
name: spec.podSpec.storage
230230
program: _shared
@@ -257,7 +257,7 @@ inherit:
257257
file: options-k8s-shared.yaml
258258
replacement:
259259
component: :term:`sharded cluster` shard member
260-
defaultStorage: 5G
260+
defaultStorage: 5Gi
261261
---
262262
program: k8sScConf
263263
name: spec.configSrvPodSpec.persistence.multiple.data
@@ -271,7 +271,7 @@ inherit:
271271
replacement:
272272
component: :term:`sharded cluster` :term:`config server` member
273273
storedItem: data
274-
defaultStorage: 16G
274+
defaultStorage: 16Gi
275275

276276
---
277277
program: k8sScConf
@@ -286,7 +286,7 @@ inherit:
286286
replacement:
287287
component: :term:`sharded cluster` :term:`config server` member
288288
storedItem: journal
289-
defaultStorage: 1G
289+
defaultStorage: 1Gi
290290

291291
---
292292
program: k8sScConf
@@ -301,7 +301,7 @@ inherit:
301301
replacement:
302302
component: :term:`sharded cluster` :term:`config server` member
303303
storedItem: logs
304-
defaultStorage: 3G
304+
defaultStorage: 3Gi
305305

306306
---
307307
program: k8sScConf
@@ -594,7 +594,7 @@ name: spec.shardPodSpec.storage
594594
type: string
595595
directive: setting
596596
optional: true
597-
default: 16G
597+
default: 16Gi
598598
inherit:
599599
name: spec.podSpec.storage
600600
program: _shared
@@ -641,7 +641,7 @@ inherit:
641641
replacement:
642642
component: :term:`sharded cluster` shard member
643643
storedItem: data
644-
defaultStorage: 16G
644+
defaultStorage: 16Gi
645645

646646
---
647647
program: k8sScConf
@@ -656,7 +656,7 @@ inherit:
656656
replacement:
657657
component: :term:`sharded cluster` shard member
658658
storedItem: journal
659-
defaultStorage: 1G
659+
defaultStorage: 1Gi
660660

661661
---
662662
program: k8sScConf
@@ -671,7 +671,7 @@ inherit:
671671
replacement:
672672
component: :term:`sharded cluster` shard member
673673
storedItem: logs
674-
defaultStorage: 3G
674+
defaultStorage: 3Gi
675675

676676
---
677677
program: k8sScConf

source/includes/options-k8s-standalone.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ inherit:
285285
replacement:
286286
component: :term:`standalone deployment <standalone>`
287287
storedItem: data
288-
defaultStorage: 16G
288+
defaultStorage: 16Gi
289289

290290
---
291291
program: k8sSaConf
@@ -300,7 +300,7 @@ inherit:
300300
replacement:
301301
component: :term:`standalone deployment <standalone>`
302302
storedItem: journal
303-
defaultStorage: 1G
303+
defaultStorage: 1Gi
304304

305305
---
306306
program: k8sSaConf
@@ -315,7 +315,7 @@ inherit:
315315
replacement:
316316
component: :term:`standalone deployment <standalone>`
317317
storedItem: logs
318-
defaultStorage: 3G
318+
defaultStorage: 3Gi
319319

320320
---
321321
program: k8sSaConf

source/includes/steps-deploy-k8s-opsmgr-http.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ content: |
145145
If this value is ``true``, then
146146
``spec.applicationDatabase.podSpec.persistence.``
147147
:setting:`~spec.podSpec.persistence.single`
148-
is set to its default value of ``16G``.
148+
is set to its default value of ``16Gi``.
149149
150150
To change your |k8s-pvcs| configuration, configure the
151151
following collections to meet your deployment requirements:

source/includes/steps-deploy-k8s-sharded-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ content: |
139139
|k8s-mdbrsc| is stopped or restarted.
140140
141141
If this value is ``true``, then the following values are set
142-
to their default value of ``16G``:
142+
to their default value of ``16Gi``:
143143
144144
- :setting:`spec.shardPodSpec.persistence.single`
145145
- :setting:`spec.configSrvPodSpec.persistence.single`

source/includes/steps-deploy-k8s-standalone.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ content: |
109109
110110
If this value is ``true``, then
111111
:setting:`spec.podSpec.persistence.single` is set to its
112-
default value of ``16G``.
112+
default value of ``16Gi``.
113113
114114
To change your |k8s-pvcs| configuration, configure the
115115
following collections to meet your deployment requirements:

source/reference/k8s-operator-om-specification.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Optional |onprem| Resource Settings
225225
expressed as an integer followed by a unit of storage in
226226
|jedec| notation.
227227

228-
Default value is ``30G``.
228+
Default value is ``30Gi``.
229229

230230
.. seealso::
231231

@@ -234,7 +234,7 @@ Optional |onprem| Resource Settings
234234
.. example::
235235

236236
If the head database requires 60 gigabytes of storage
237-
space, set this value to ``60G``.
237+
space, set this value to ``60Gi``.
238238

239239
* - ``storageClass``
240240
- string

source/reference/k8s/example-ops-manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
backup:
1313
enabled: true
1414
headDB:
15-
storage: 30G
15+
storage: 30Gi
1616
labelSelector:
1717
matchLabels:
1818
app: my-app

source/reference/k8s/shardedclusterpodspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
memory: 512M
2929

3030
# if "persistence" element is omitted then Operator uses the
31-
# default size (5G) for mounting single Persistent Volume
31+
# default size (5Gi) for mounting single Persistent Volume
3232

3333
podAntiAffinityTopologyKey: kubernetes.io/hostname
3434
podAffinity:
@@ -53,7 +53,7 @@ spec:
5353
weight: 50
5454
mongosPodSpec:
5555
cpu: '0.8'
56-
memory: 1G
56+
memory: 1Gi
5757
podAntiAffinityTopologyKey: rackId
5858
nodeAffinity:
5959
preferredDuringSchedulingIgnoredDuringExecution:
@@ -77,15 +77,15 @@ spec:
7777
weight: 50
7878
shardPodSpec:
7979
cpu: '0.6'
80-
memory: 3G
80+
memory: 3Gi
8181
persistence:
8282
multiple:
8383
# if the child of "multiple" is omitted then the default size will be used.
84-
# 16G for "data", 1G for "journal", 3Gb for "logs"
84+
# 16GB for "data", 1GB for "journal", 3GB for "logs"
8585
data:
86-
storage: 20G
86+
storage: 20Gi
8787
logs:
88-
storage: 4G
88+
storage: 4Gi
8989
storageClass: standard
9090
podAntiAffinityTopologyKey: kubernetes.io/hostname
9191
security:

source/reference/k8s/standalonepodspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
memory: 512M
1717
persistence:
1818
single:
19-
storage: 12G
19+
storage: 12Gi
2020
storageClass: standard
2121
labelSelector:
2222
matchExpressions:

source/reference/production-notes.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ verify that the |k8s-pvcs| are configured to meet your storage needs.
6464
topologyKey: failure-domain.beta.kubernetes.io/zone
6565
mongosPodSpec:
6666
cpu: '0.8'
67-
memory: 1G
67+
memory: 1Gi
6868
podAntiAffinityTopologyKey: rackId
6969
nodeAffinity:
7070
preferredDuringSchedulingIgnoredDuringExecution:
@@ -77,13 +77,13 @@ verify that the |k8s-pvcs| are configured to meet your storage needs.
7777
- another-node-label-value
7878
shardPodSpec:
7979
cpu: '0.6'
80-
memory: 3G
80+
memory: 3Gi
8181
persistence:
8282
multiple:
8383
data:
84-
storage: 20G
84+
storage: 20Gi
8585
logs:
86-
storage: 4G
86+
storage: 4Gi
8787
storageClass: standard
8888
podAntiAffinityTopologyKey: kubernetes.io/hostname
8989

@@ -169,7 +169,7 @@ compute and memory. |k8s| refers to the lower bound of a resource as a
169169
topologyKey: failure-domain.beta.kubernetes.io/zone
170170
mongosPodSpec:
171171
cpu: '0.8'
172-
memory: 1G
172+
memory: 1Gi
173173
podAntiAffinityTopologyKey: rackId
174174
nodeAffinity:
175175
preferredDuringSchedulingIgnoredDuringExecution:
@@ -182,13 +182,13 @@ compute and memory. |k8s| refers to the lower bound of a resource as a
182182
- another-node-label-value
183183
shardPodSpec:
184184
cpu: '0.6'
185-
memory: 3G
185+
memory: 3Gi
186186
persistence:
187187
multiple:
188188
data:
189-
storage: 20G
189+
storage: 20Gi
190190
logs:
191-
storage: 4G
191+
storage: 4Gi
192192
storageClass: standard
193193
podAntiAffinityTopologyKey: kubernetes.io/hostname
194194

@@ -237,7 +237,7 @@ availability.
237237
topologyKey: failure-domain.beta.kubernetes.io/zone
238238
mongosPodSpec:
239239
cpu: '0.8'
240-
memory: 1G
240+
memory: 1Gi
241241
podAntiAffinityTopologyKey: rackId
242242
nodeAffinity:
243243
preferredDuringSchedulingIgnoredDuringExecution:
@@ -250,13 +250,13 @@ availability.
250250
- another-node-label-value
251251
shardPodSpec:
252252
cpu: '0.6'
253-
memory: 3G
253+
memory: 3Gi
254254
persistence:
255255
multiple:
256256
data:
257-
storage: 20G
257+
storage: 20Gi
258258
logs:
259-
storage: 4G
259+
storage: 4Gi
260260
storageClass: standard
261261
podAntiAffinityTopologyKey: kubernetes.io/hostname
262262

source/reference/troubleshooting.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ To view all |k8s-mdbrsc| specifications in the provided
245245
type: Standalone
246246
persistent: false
247247
podSpec:
248-
memory: 1G
248+
memory: 1Gi
249249
project: my-om-config
250250
version: 4.2.2-ent
251251

0 commit comments

Comments
 (0)