Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Allow to customize archive storage settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Oicho committed Nov 8, 2023
1 parent f851d51 commit f9a63c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ The following table lists the configurable parameters of the nifi chart and the
| `properties.httpPort` | web properties HTTP port | `8080` |
| `properties.httpsPort` | web properties HTTPS port | `null` |
| `properties.clusterPort` | cluster node port | `6007` |
| `properties.archiveMaxRetentionPeriod` | nifi archive max retention period | `3 days` |
| `properties.archiveMaxUsagePercentage` | nifi archive max usage percentage | `85%` |
| `properties.provenanceStorage` | nifi provenance repository max storage size | `8 GB` |
| `properties.provenanceMaxStorageTime` | nifi provenance repository max storage time | `10 days` |
| `properties.siteToSite.secure` | Site to Site properties Secure mode | `false` |
Expand Down
4 changes: 2 additions & 2 deletions configs/nifi.properties
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ nifi.content.repository.implementation=org.apache.nifi.controller.repository.Fil
nifi.content.claim.max.appendable.size=1 MB
nifi.content.claim.max.flow.files=100
nifi.content.repository.directory.default=../content_repository
nifi.content.repository.archive.max.retention.period=3 days
nifi.content.repository.archive.max.usage.percentage=85%
nifi.content.repository.archive.max.retention.period={{.Values.properties.archiveMaxRetentionPeriod}}
nifi.content.repository.archive.max.usage.percentage={{.Values.properties.archiveMaxUsagePercentage}}
nifi.content.repository.archive.enabled=true
nifi.content.repository.always.sync=false
nifi.content.viewer.url=/nifi-content-viewer/
Expand Down
2 changes: 2 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ properties:
httpsPort: 8443
webProxyHost: # <clusterIP>:<NodePort> (If Nifi service is NodePort or LoadBalancer)
clusterPort: 6007
archiveMaxRetentionPeriod: "3 days"
archiveMaxUsagePercentage: "85%"
provenanceStorage: "8 GB"
provenanceMaxStorageTime: "10 days"
siteToSite:
Expand Down

0 comments on commit f9a63c9

Please sign in to comment.