Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Configure Pulse on Kubernetes to monitor a standalone NiFi cluster
Configure Pulse on Kubernetes to monitor a standalone Apache NiFi cluster.
This is supported from Pulse 4.1.2 onwards.
Prerequisites
Before you begin, ensure that:
Pulse Manager is accessible and you have administrator credentials for API access.
Pulse is installed and configured on Kubernetes.
The Pulse database node is configured and accessible.
Container registry credentials are configured as a Kubernetes secret.
The
elastic-certificates.p12certificate file is available.The standalone NiFi cluster and NiFi Registry are accessible from Pulse Manager.
Host mappings are configured for the Pulse and NiFi nodes.
Replace the sample credentials, URLs, hostnames, IP addresses, and file paths in this procedure with values from your environment. Do not store unencrypted credentials in source control.
Create the NiFi Cluster Configuration
Create a file named nifi_inputs.json with the following configuration:
If NiFi uses embedded ZooKeeper, set nifiZKEnabled to false and skip the ZooKeeper host upload step.
Create the NiFi Hosts File
Create a file named nifihosts.yml to specify the NiFi endpoints and credentials:
Encrypt the NiFi Password
Use Pulse Manager to encrypt the NiFi user password:
Copy the encrypted password returned by the command and specify it as the auth.password value in nifihosts.yml.
Upload the Host Configuration
If NiFi uses an external ZooKeeper, upload the ZooKeeper hosts file:
Upload the NiFi hosts file:
Replace:
ad-nifiwith your cluster name./root/nifizookeeperwith the path to your ZooKeeper hosts file./root/nifihosts.ymlwith the path to your NiFi hosts file.
Initialize Pulse Manager
Initialize Pulse Manager with the required version, container registry, and retention settings:
Ensure that the adreg-docker-secret Kubernetes secret exists in the Pulse namespace and contains valid container registry credentials.
Upload the Elastic Certificate
Upload the elastic-certificates.p12 certificate for secure Elastic connectivity:
Configure the NiFi Cluster
Configure the NiFi cluster using the nifi_inputs.json file:
Deploy the Database Components
Deploy the Pulse database components:
Push the database configuration to the NiFi cluster:
Replace ad-nifi with your cluster name.
Deploy Pulse Core Services
Deploy the Pulse core services and specify the required host mappings:
Replace the sample IP addresses and FQDNs with the values for your environment.
Important: Ensure that the IP address-to-FQDN mappings are correct. Incorrect mappings can cause connectivity failures or TLS hostname mismatches.
Configure Log Collection
Configure the Pulse log collector to collect NiFi and system logs.
In the log collector configuration, such as vars.yml, add the required log locations:
Update the NiFi version directories and log paths to match your installation.
Reconfigure the Cluster
Apply the updated configuration to the cluster:
Replace ad-nifi with your cluster name.
Set forcePull to true when you want Kubernetes to pull the required container images again during reconfiguration.
Validate the Configuration
After you configure the cluster, verify the following:
Pulse Manager API requests complete successfully.
The database, core, and collector pods are running.
NiFi metrics and flows are available in the Pulse UI.
NiFi and system logs are available in Log Search.
NiFi Registry versioned flows are accessible.
NiFi Registry credentials are accepted.
Troubleshoot the Configuration
If the NiFi integration does not work as expected:
Verify the configuration file paths and cluster name.
Verify connectivity between Pulse Manager and the NiFi cluster.
Verify the NiFi credentials. If required, encrypt the password again and update
nifihosts.yml.Verify the host mappings, Kubernetes DNS configuration, and node connectivity.
Verify that the container registry secret exists and contains valid credentials.
Verify the log paths and file permissions.
Verify that the log collector pods can access the configured NiFi log locations.
If NiFi uses embedded ZooKeeper, ensure that
nifiZKEnabledis set tofalseand skip the ZooKeeper host upload step.
Appendix: Command Reference
Use the following commands as a quick reference after you complete the configuration described in this guide.
1. Encrypt the NiFi Password
Update nifihosts.yml with the encrypted password returned by the command.
2. Upload the ZooKeeper Hosts
If NiFi uses an external ZooKeeper, run:
Skip this step if NiFi uses embedded ZooKeeper.
3. Upload the NiFi Registry Hosts
4. Initialize Pulse Manager
5. Upload the Elastic Certificate
6. Configure the NiFi Cluster
7. Deploy the Database Components
Push the database configuration:
8. Deploy Pulse Core Services
9. Reconfigure the Cluster
After you update the required log paths, reconfigure the cluster:
Replace the sample cluster name, credentials, URLs, hostnames, IP addresses, registry information, and file paths with the values for your environment.
For additional help, contact www.acceldata.force.com OR call our service desk +1 844 9433282
Copyright © 2026