radar-nifi

by RADAR-Base

Helm chartv3.1.1App 1.16.0Verified publisher

A Helm chart for Kubernetes

About this chart

radar-nifi

A Helm chart for Kubernetes

Requirements

RepositoryNameVersion
file://../../external/nifi-clusternifi-cluster1.14.1
file://../../external/nifikopnifikop1.14.1
https://radar-base.github.io/radar-helm-chartscommon2.x.x

Values

KeyTypeDefaultDescription
serverNamestring"localhost"
advertised_protocolstring"https"
nifikop.enabledbooltrueDeploy the nifikop operator.
auth.oidcobject{"enabled":false}OpenID Connect configuration (not functional at the moment, included for reference).
auth.singleUserobject{"password":"changemechangeme","username":"admin"}Single user authentication configuration
auth.singleUser.passwordstring"changemechangeme"Password for the single admin user. Make sure it's at least 12 characters long.'
nifi-secret-propertiesstringcheck values.yamlNifi Cluster configuration
nifi-properties."nifi.web.proxy.context.path"string"/"
nifi-properties."nifi.web.proxy.scheme"string"{{ .Values.advertised_protocol }}"
nifi-properties."nifi.web.http.network.interface.default"string"eth0"
nifi-properties."nifi.web.http.network.interface.lo"string"lo"
nifi-properties."nifi.nar.library.autoload.directory"string"../extensions"
nifi-cluster.cluster.nodeUserIdentityTemplatestring"node-%d-nifikop"
nifi-cluster.cluster.image.tagstring"2.5.0"
nifi-cluster.cluster.managerstring"kubernetes"
nifi-cluster.cluster.bootstrapProperties.overrideConfigsstring"java.arg.4=-Djava.net.preferIPv4Stack=true\njava.arg.log4shell=-Dlog4j2.formatMsgNoLookups=true\n# Java 8 Tuning see https://community.hortonworks.com/articles/7882/hdfnifi-best-practices-for-setting-up-a-high-perfo.html for references\njava.arg.7=-XX:ReservedCodeCacheSize=256m\njava.arg.8=-XX:+UseCodeCacheFlushing\n"
nifi-cluster.cluster.bootstrapProperties.nifiJvmMemorystring"2g"
nifi-cluster.cluster.nifiProperties.overrideConfigMap.namestring"radar-nifi-properties"
nifi-cluster.cluster.nifiProperties.overrideConfigMap.datastring"nifi.properties"
nifi-cluster.cluster.nifiProperties.overrideSecretConfig.namestring"radar-nifi-secret-properties"
nifi-cluster.cluster.nifiProperties.overrideSecretConfig.datastring"nifi-secret.properties"
nifi-cluster.cluster.nifiProperties.webProxyHostslist["nifi.localhost:8443"]Must follow the full public address of the Nifi cluster, including port and context path.
nifi-cluster.cluster.singleUserConfiguration.enabledbooltrue
nifi-cluster.cluster.singleUserConfiguration.authorizerEnabledbooltrue
nifi-cluster.cluster.singleUserConfiguration.secretRef.namestring"nifi-single-user-credentials"
nifi-cluster.cluster.singleUserConfiguration.secretRef.namespacestring"default"
nifi-cluster.cluster.listenersConfig.internalListeners[0].typestring"https"
nifi-cluster.cluster.listenersConfig.internalListeners[0].namestring"https"
nifi-cluster.cluster.listenersConfig.internalListeners[0].containerPortint8443
nifi-cluster.cluster.listenersConfig.internalListeners[1].typestring"cluster"
nifi-cluster.cluster.listenersConfig.internalListeners[1].namestring"cluster"
nifi-cluster.cluster.listenersConfig.internalListeners[1].containerPortint6007
nifi-cluster.cluster.listenersConfig.internalListeners[2].typestring"s2s"
nifi-cluster.cluster.listenersConfig.internalListeners[2].namestring"s2s"
nifi-cluster.cluster.listenersConfig.internalListeners[2].containerPortint10000
nifi-cluster.cluster.listenersConfig.sslSecrets.tlsSecretNamestring"radar-nifi-tls"
nifi-cluster.cluster.listenersConfig.sslSecrets.createbooltrue
nifi-cluster.cluster.nifiClusterTaskSpec.retryDurationMinutesint10
nifi-cluster.cluster.initContainers[0].namestring"download-postgres-driver"
nifi-cluster.cluster.initContainers[0].imagestring"curlimages/curl:8.12.1"
nifi-cluster.cluster.initContainers[0].command[0]string"sh"
nifi-cluster.cluster.initContainers[0].command[1]string"-c"
nifi-cluster.cluster.initContainers[0].command[2]string"curl -L -o /jdbc/postgresql-42.7.5.jar \\\n https://jdbc.postgresql.org/download/postgresql-42.7.5.jar\n"
nifi-cluster.cluster.initContainers[0].volumeMounts[0].namestring"jdbc-drivers"
nifi-cluster.cluster.initContainers[0].volumeMounts[0].mountPathstring"/jdbc"
nifi-cluster.cluster.initContainers[1].namestring"download-postgres-nar"
nifi-cluster.cluster.initContainers[1].imagestring"curlimages/curl:8.12.1"
nifi-cluster.cluster.initContainers[1].command[0]string"sh"
nifi-cluster.cluster.initContainers[1].command[1]string"-c"
nifi-cluster.cluster.initContainers[1].command[2]string"curl -L -o /extensions/nifi-dbcp-service-nar-2.5.0.nar \\\n https://repo1.maven.org/maven2/org/apache/nifi/nifi-dbcp-service-nar/2.5.0/nifi-dbcp-service-nar-2.5.0.nar\n"
nifi-cluster.cluster.initContainers[1].volumeMounts[0].namestring"extensions"
nifi-cluster.cluster.initContainers[1].volumeMounts[0].mountPathstring"/extensions"
nifi-cluster.cluster.nodeConfigGroups.default_group.fsGroupint1337
nifi-cluster.cluster.nodeConfigGroups.default_group.isNodebooltrue
nifi-cluster.cluster.nodeConfigGroups.default_group.resourcesRequirements.limits.cpuint2
nifi-cluster.cluster.nodeConfigGroups.default_group.resourcesRequirements.limits.memorystring"3Gi"
nifi-cluster.cluster.nodeConfigGroups.default_group.resourcesRequirements.requests.cpuint1
nifi-cluster.cluster.nodeConfigGroups.default_group.resourcesRequirements.requests.memorystring"2Gi"
nifi-cluster.cluster.nodeConfigGroups.default_group.serviceAccountNamestring"radar-nifi-nifi-cluster"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[0].mountPathstring"/opt/nifi/flowfile_repository"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[0].namestring"flowfile-repository"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[0].pvcSpec.accessModes[0]string"ReadWriteOnce"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[0].pvcSpec.resources.requests.storagestring"10Gi"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[1].mountPathstring"/opt/nifi/nifi-current/conf"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[1].namestring"conf"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[1].pvcSpec.accessModes[0]string"ReadWriteOnce"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[1].pvcSpec.resources.requests.storagestring"500m"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[2].mountPathstring"/opt/nifi/content_repository"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[2].namestring"content-repository-default"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[2].pvcSpec.accessModes[0]string"ReadWriteOnce"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[2].pvcSpec.resources.requests.storagestring"10Gi"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[3].mountPathstring"/opt/nifi/provenance_repository"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[3].namestring"provenance-repository-default"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[3].pvcSpec.accessModes[0]string"ReadWriteOnce"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[3].pvcSpec.resources.requests.storagestring"10Gi"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[4].mountPathstring"/opt/nifi/data"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[4].namestring"data"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[4].pvcSpec.accessModes[0]string"ReadWriteOnce"
nifi-cluster.cluster.nodeConfigGroups.default_group.storageConfigs[4].pvcSpec.resources.requests.storagestring"5Gi"
nifi-cluster.cluster.nodeConfigGroups.default_group.externalVolumeConfigs[0].namestring"jdbc-drivers"
nifi-cluster.cluster.nodeConfigGroups.default_group.externalVolumeConfigs[0].mountPathstring"/opt/nifi/jdbc"
nifi-cluster.cluster.nodeConfigGroups.default_group.externalVolumeConfigs[0].emptyDirobject{}
nifi-cluster.cluster.nodeConfigGroups.default_group.externalVolumeConfigs[1].namestring"extensions"
nifi-cluster.cluster.nodeConfigGroups.default_group.externalVolumeConfigs[1].mountPathstring"/opt/nifi/extensions"
nifi-cluster.cluster.nodeConfigGroups.default_group.externalVolumeConfigs[1].emptyDirobject{}
nifi-cluster.cluster.nodes[0].idint0
nifi-cluster.cluster.nodes[0].labels.nifi_node_groupstring"default_group"
nifi-cluster.cluster.nodes[0].nodeConfigGroupstring"default_group"
nifi-cluster.cluster.propagateLabelsboolfalse
nifi-cluster.cluster.service.headlessEnabledbooltrue
nifi-cluster.cluster.maximumTimerDrivenThreadCountint40
nifi-cluster.ingress.enabledboolfalse
ingress.enabledbooltrue
ingress.annotations."nginx.ingress.kubernetes.io/backend-protocol"string"HTTPS"
ingress.annotations."nginx.ingress.kubernetes.io/affinity"string"cookie"
ingress.annotations."nginx.ingress.kubernetes.io/session-cookie-name"string"route"
ingress.annotations."nginx.ingress.kubernetes.io/session-cookie-hash"string"sha1"
ingress.annotations."cert-manager.io/cluster-issuer"string"self-signed-issuer"
ingress.hostnamestring"nifi.{{ $.Values.serverName }}"
ingress.ingressClassNamestring"nginx"
ingress.pathstring"/"
ingress.pathTypestring"ImplementationSpecific"
ingress.backendstring"{{ include \"common.names.fullname\" . }}-nifi-cluster-headless"
ingress.tlsbooltrue
ingress.existingSecretstring"radar-nifi-tls"
gatewayAPI.enabledboolfalseEnable Gateway API HTTPRoute resource (alternative to ingress). Opt-in: requires the Gateway API CRDs and a Gateway controller to be installed.
gatewayAPI.annotationsobject{}Annotations to add to the HTTPRoute
gatewayAPI.parentRefobject{"name":"radar-base-k8s-gateway","namespace":""}Parent Gateway that the HTTPRoute attaches to. The Gateway itself is a shared resource and must be created separately (not by this chart).
gatewayAPI.parentRef.namestring"radar-base-k8s-gateway"Name of the Gateway
gatewayAPI.parentRef.namespacestring""Namespace of the Gateway (defaults to the release namespace when empty)
gatewayAPI.hostnameslist["nifi.{{ .Values.serverName }}"]Hostnames the HTTPRoutes accept requests for (must intersect the Gateway listener hostnames). String values support Helm templating (tpl); defaults to serverName so deployments override it the same way as ingress.hosts.
gatewayAPI.httpsobject{"port":443,"sectionName":""}HTTPS listener on the Gateway that the main route attaches to
gatewayAPI.https.portint443Listener port (empty attaches to all matching listeners)
gatewayAPI.https.sectionNamestring""Listener sectionName on the Gateway (optional)
gatewayAPI.pathTypestring"PathPrefix"Path match type (PathPrefix, Exact or RegularExpression)
gatewayAPI.pathstring"/"Path to match within the URL structure
gatewayAPI.backendobjectcheck values.yamlBackend Service (the NiFi headless service) and port the route forwards to
gatewayAPI.filterslist[]Additional HTTPRoute filters (e.g. URLRewrite, RequestHeaderModifier) NOTE: the ingress's cookie-based session affinity (nginx.ingress.kubernetes.io/affinity and related session-cookie-* annotations) has no HTTPRoute equivalent and is NOT replicated here; configure it with your Gateway controller's policies if required.
gatewayAPI.backendTLSobject{"caCertificateRefs":[{"group":"","kind":"ConfigMap","name":"radar-nifi-ca"}],"enabled":true,"hostname":"nifi.{{ $.Values.serverName }}","wellKnownCACertificates":"System"}TLS from the gateway to the NiFi pods (equivalent to nginx.ingress.kubernetes.io/backend-protocol: HTTPS). Creates a BackendTLSPolicy targeting the backend Service. NiFi uses a self-signed certificate, so the CA must be provided as a ConfigMap (key ca.crt) in the release namespace.
gatewayAPI.backendTLS.enabledbooltrueCreate the BackendTLSPolicy
gatewayAPI.backendTLS.hostnamestring"nifi.{{ $.Values.serverName }}"Certificate hostname to

Deploy radar-nifi with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has radar-nifi on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartradar-nifi is pinned at v3.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply