Skip to content

Commit 6307469

Browse files
jdestefano-mongojwilliams-mongo
authored andcommitted
(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 818554a commit 6307469

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

0 commit comments

Comments
 (0)