After going through the getting_started/installation.adoc section and having installed all the operators, you deploy a NiFi cluster and the required dependencies. Afterward you can verify that it works by querying the REST API.
We are going to install a NiFi cluster by applying a manifest file. The operators create the resources according to the manifests.
The NiFi cluster requires authentication. Create a set of credentials for this purpose:
link:example$getting_started/getting_started.sh[role=include]Afterwards create a NiFi instance:
link:example$getting_started/getting_started.sh[role=include]First, make sure all pods are ready:
link:example$getting_started/getting_started.sh[role=include]Then make sure the StatefulSets are ready:
kubectl get statefulsetThe output should show all pods ready:
NAME READY AGE
broken-nifi-node-default 2/2 5m
simple-zk-server-default 3/3 7mCongratulations! You successfully created your first NiFi cluster!
You can retrieve the URL for the NiFi cluster web interface via stackablectl or kubectl.
Use the service command of stackablectl to get a list of all available endpoints:
stackablectl stacklet listwhich should return something like this:
PRODUCT NAME NAMESPACE ENDPOINTS CONDITIONS nifi broken-nifi default node-https https://172.18.0.2:30528 Available, Reconciling, Running
You can also use the json output and parse the endpoint:
link:example$getting_started/getting_started.sh[role=include]Then connect to https://172.18.0.2:30528/nifi and you should see the NiFi web login. After providing the username admin and password admin you are redirected to the NiFi web interface.
You can also extract the endpoint from the Listener status via kubectl:
link:example$getting_started/getting_started.sh[role=include]should output a URL to connect to the NiFi web interface:
NiFi URL: https://172.18.0.2:30528Then connect to https://172.18.0.2:30528/nifi and you should see the NiFi web login. After providing the username admin and password admin you are redirected to the NiFi web interface.
Have a look at the usage_guide/index.adoc page to find out more about the features of the NiFi Operator.
