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

Commit

Permalink
Add zkClientEnsembleTracker configuration (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathluu authored Nov 24, 2023
1 parent f851d51 commit a14efad
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
apiVersion: v2
name: nifi
version: 1.1.4
appVersion: 1.16.3
version: 1.1.5
appVersion: 1.23.2
description: Apache NiFi is a software project from the Apache Software Foundation designed to automate the flow of data between software systems.
keywords:
- nifi
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

## Introduction

This [Helm](https://helm.sh/) chart installs [Apache NiFi](https://nifi.apache.org/) 1.16.3 in a [Kubernetes](https://kubernetes.io/) cluster.
This [Helm](https://helm.sh/) chart installs [Apache NiFi](https://nifi.apache.org/) 1.23.2 in a [Kubernetes](https://kubernetes.io/) cluster.

## Prerequisites

Expand Down Expand Up @@ -96,7 +96,7 @@ The following table lists the configurable parameters of the nifi chart and the
| `replicaCount` | Number of nifi nodes | `1` |
| **Image** |
| `image.repository` | nifi Image name | `apache/nifi` |
| `image.tag` | nifi Image tag | `1.16.3` |
| `image.tag` | nifi Image tag | `1.23.2` |
| `image.pullPolicy` | nifi Image pull policy | `IfNotPresent` |
| `image.pullSecret` | nifi Image pull secret | `nil` |
| **SecurityContext** |
Expand Down
1 change: 1 addition & 0 deletions configs/nifi.properties
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ nifi.cluster.flow.election.max.wait.time=1 mins
nifi.cluster.flow.election.max.candidates=

# zookeeper properties, used for cluster management #
nifi.zookeeper.client.ensembleTracker={{.Values.properties.zkClientEnsembleTraker}}
nifi.zookeeper.connect.string=
nifi.zookeeper.connect.timeout=3 secs
nifi.zookeeper.session.timeout=3 secs
Expand Down
2 changes: 1 addition & 1 deletion doc/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ helm dep up
```
2. **Set a sensitiveKey**

In 1.16.3 version, Nifi needs a sensitiveKey to encrypt sensitive information. This key can be setted in the `values.yaml` file:
In 1.23.2 version, Nifi needs a sensitiveKey to encrypt sensitive information. This key can be setted in the `values.yaml` file:

````
properties:
Expand Down
1 change: 1 addition & 0 deletions templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ spec:
fi
{{ end }}

prop_replace nifi.ui.banner.text $(hostname -s)
prop_replace nifi.remote.input.host ${FQDN}
prop_replace nifi.cluster.node.address ${FQDN}
prop_replace nifi.zookeeper.connect.string ${NIFI_ZOOKEEPER_CONNECT_STRING}
Expand Down
6 changes: 3 additions & 3 deletions tests/06-alpha.flow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.16.3</version>
<version>1.23.2</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>1 sec</schedulingPeriod>
Expand Down Expand Up @@ -117,7 +117,7 @@
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-ssl-context-service-nar</artifact>
<version>1.16.3</version>
<version>1.23.2</version>
</bundle>
<enabled>true</enabled>
<property>
Expand Down Expand Up @@ -162,7 +162,7 @@
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-site-to-site-reporting-nar</artifact>
<version>1.16.3</version>
<version>1.23.2</version>
</bundle>
<schedulingPeriod>5 sec</schedulingPeriod>
<scheduledState>RUNNING</scheduledState>
Expand Down
3 changes: 2 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
##
image:
repository: apache/nifi
tag: "1.16.3"
tag: "1.23.2"
pullPolicy: "IfNotPresent"

## Optionally specify an imagePullSecret.
Expand Down Expand Up @@ -94,6 +94,7 @@ properties:
httpsPort: 8443
webProxyHost: # <clusterIP>:<NodePort> (If Nifi service is NodePort or LoadBalancer)
clusterPort: 6007
zkClientEnsembleTraker: false # https://issues.apache.org/jira/browse/NIFI-10481
provenanceStorage: "8 GB"
provenanceMaxStorageTime: "10 days"
siteToSite:
Expand Down

0 comments on commit a14efad

Please sign in to comment.