-
Notifications
You must be signed in to change notification settings - Fork 34
Flows do not persist pod restart #201
Comments
I got this response from one of the alternate communication channels. But I cannot make sense of it. Could this be an issue?
|
You should deploy a https://orange-opensource.github.io/nifikop/docs/5_references/5_nifi_dataflow I could be wrong, but I suppose you could also make sure the |
I recently opened a PR that provides an option to NifiClusterSpec where, when specified, does not remove the flow.xml.gz file on pod startup. In the current implementation, even though the flows.xml.gz file is persisted, it is removed every time the pod starts. https://github.com/Orange-OpenSource/nifikop/blob/master/pkg/resources/nifi/pod.go#L418 |
Type of question
Are you asking about community best practices, how to implement a specific feature, or about general context and help around nifikop ?
General help with Nifikop.
Question
What did you do?
I deployed Nifi with 2 pods via NifiKops. After creating a flow on the UI, I exported the process groups to a nifi-registry as well. The cluster run for days. This is the CR I used. I then deleted the cluster pods to test resilience.
What did you expect to see?
I expected the cluster to run properly and survive restarts since PVs are created. I expected to see the pipelines continue running after the pods started up.
What did you see instead? Under which circumstances?
When the pods came back up and were healthy, the UI had no flows or process groups. The registry configuration had also disappeared. I have to manually re-register the nifi-registry, re-import the process groups, add the secrets and restart the pipelines.
Environment
nifikop version:
v0.7.5-release
Kubernetes version information:
apache/nifi:1.12.1
The text was updated successfully, but these errors were encountered: