Skip to content

Commit 157930e

Browse files
Felix Hennigfhennig
Felix Hennig
authored andcommitted
Changed defaults documentation
1 parent bed9b46 commit 157930e

File tree

1 file changed

+8
-35
lines changed

1 file changed

+8
-35
lines changed

docs/modules/nifi/pages/usage_guide/resource-configuration.adoc

+8-35
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44
== Volume storage
55

6-
By default, a NiFi cluster will create five different persistent volume claims for flow files, provenance, database, content and state folders. These PVCs will request `2Gi`. It is recommended that you configure these volume requests according to your needs.
6+
By default, a NiFi cluster will create five different persistent volume claims for flow files, provenance, database, content and state folders.
7+
The example below shows how to configure the sizes of the individual volumes.
8+
The volume sizes are the defaults used by the Operator.
79

810
Storage requests can be configured at role or group level, for one or more of the persistent volumes as follows:
911

@@ -16,19 +18,17 @@ nodes:
1618
resources:
1719
storage:
1820
flowfileRepo:
19-
capacity: 12Gi
21+
capacity: 1024Mi
2022
provenanceRepo:
21-
capacity: 12Gi
23+
capacity: 2048Mi
2224
databaseRepo:
23-
capacity: 12Gi
25+
capacity: 1024Mi
2426
contentRepo:
25-
capacity: 12Gi
27+
capacity: 4096Mi
2628
stateRepo:
27-
capacity: 12Gi
29+
capacity: 1024Mi
2830
----
2931

30-
In the above example, all nodes in the default group will request `12Gi` of storage the various folders.
31-
3232
== Resource Requests
3333

3434
include::home:concepts:stackable_resource_requests.adoc[]
@@ -39,30 +39,3 @@ A minimal HA setup consisting of 2 NiFi instances has the following https://kube
3939
* `5000m` CPU limit
4040
* `8448Mi` memory request and limit
4141
* `18432Mi` persistent storage
42-
43-
Corresponding to the values above, the operator uses the following resource defaults:
44-
45-
[source,yaml]
46-
----
47-
nodes:
48-
roleGroups:
49-
default:
50-
config:
51-
resources:
52-
cpu:
53-
min: "500m"
54-
max: "2000m"
55-
memory:
56-
limit: '4096Mi'
57-
storage:
58-
flowfileRepo:
59-
capacity: 1024Mi
60-
provenanceRepo:
61-
capacity: 2048Mi
62-
databaseRepo:
63-
capacity: 1024Mi
64-
contentRepo:
65-
capacity: 4096Mi
66-
stateRepo:
67-
capacity: 1024Mi
68-
----

0 commit comments

Comments
 (0)