Skip to content

Commit 3bab21d

Browse files
committed
document increasing filebased storage
1 parent 54cafce commit 3bab21d

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
== Volume storage
55

6-
By default, a NiFi Stacklet creates five different persistent volume claims for flow files, provenance, database, content and state directories.
6+
By default, a NiFi Stacklet creates five different persistent volume claims for flow files, provenance, database, content and state directories.
7+
Depending on the NiFi cluster definition, another PVC for file-based authorization is added.
78
You can find the default sizes of the PVCs in the {crd-docs}/nifi.stackable.tech/NifiCluster/v1alpha1/#spec-nodes-config-resources-storage[NifiCluster reference docs {external-link-icon}^], it is recommended that you configure these volume requests according to your needs.
89

910
Storage requests can be configured at role or group level, for one or more of the persistent volumes as follows:
@@ -16,6 +17,8 @@ nodes:
1617
config:
1718
resources:
1819
storage:
20+
filebasedRepo:
21+
capacity: 12Gi
1922
flowfileRepo:
2023
capacity: 12Gi
2124
provenanceRepo:

docs/modules/nifi/pages/usage_guide/security.adoc

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,24 @@ spec:
211211
initialAdminUser: "cn=admin,ou=users,dc=example,dc=org"
212212
----
213213

214-
This configuration provides an additional PVC to NiFi pods in order to read and persist the `users.xml` and `authorizations.xml`.
214+
This configuration provides an additional PVC to NiFi pods in order to read and persist the `users.xml` and `authorizations.xml` files.
215+
The default size is 16Mi and can be increased via the storage configuration on role or rolegroup level:
216+
217+
[source,yaml]
218+
----
219+
apiVersion: nifi.stackable.tech/v1alpha1
220+
kind: NifiCluster
221+
metadata:
222+
name: test-nifi
223+
spec:
224+
clusterConfig: { .. }
225+
nodes:
226+
config:
227+
resources:
228+
storage:
229+
filebasedRepo:
230+
capacity: 256Mi
231+
----
215232

216233
[#authorization-opa]
217234
=== Open Policy Agent (OPA)

0 commit comments

Comments
 (0)