Deploy NiFi for NBS 7
This page walks through deploying NiFi using the nifi-efs Helm chart.
On this page
Deploy NiFi using Helm
The NiFi ingress is disabled by default. To access the NiFi admin UI, set
ingress.enabled: trueinvalues.yamlbefore running the install command. Use a private domain name rather than a public one — NiFi has known security vulnerabilities.
- Locate the Helm chart at
charts/nifi-efs. - In
values.yaml, replace all occurrences ofnifi.EXAMPLE_DOMAINwith your domain name. See the ingress controller domain table for reference. -
Set the image repository and tag:
image: repository: quay.io/us-cdcgov/cdc-nbs-modernization/nifi tag: <release-version-tag> # for example, v1.0.1 - Set
efsFileSystemIdto your EFS file system ID. -
Set the JDBC connection string using the same database endpoint and credentials from Deploy NBS 7 microservices:
jdbcConnectionString: "jdbc:sqlserver://EXAMPLE_DB_ENDPOINT:1433;databaseName=EXAMPLE_DB_NAME;user=EXAMPLE_ODSE_DB_USER;password=EXAMPLE_ODSE_DB_USER_PASSWORD;encrypt=true;trustServerCertificate=true;" - Set
singleUserCredentialsUsernameto replace the defaultadminusername. - Set
singleUserCredentialsPasswordto your chosen password for the NiFi admin UI. -
Install NiFi:
helm install nifi -f ./nifi-efs/values.yaml nifi-efs -
Confirm the pod is running before proceeding to the next deployment:
kubectl get podsIf the pod is still creating or in any other state, wait and troubleshoot before continuing.