I have deployed Nifi on Kuberntes using cetic/helm-nifi helm chart. We are facing a problem, If nifi pod restarts we lost the all processes that we created. Is there any way to keep a backup of the process in nifi canvas.
How can I backup nifi processes when restarting Kuberntes pod?
638 Views Asked by Harshana Karunarathna At
2
There are 2 best solutions below
0
yaprak
On
Nifi keeps flow definitions in the /opt/nifi/nifi-current/conf/flow.xml.gz file in the docker image. It is strongly advised to have /conf folder persist .There are lots of kubernetes alternatives for this . check the official document
You can also find archives in the /conf folder for back-ups
Related Questions in KUBERNETES
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- I can't create a pod in minikube on windows
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Retrieve the Dockerfile configuration from the Kubernetes and also change container Java parameter?
- Summarize pods not running, by Namespace and Reason - I'm having trouble finding the reason
- How to get Java running parameters from Spring Boot running inside container in pod where no ps exist
- How do we configure prometheus server to scrape metrics from a pod with Istio sidecar proxy?
- In rke kube-proxy pod is not present
- problem with edge server registration in Eureka
- Unable to Access Kubernetes LoadBalancer Service from Local Device Outside Cluster
- Kubernetes cluster on GCE connection refused error
- Based on my experience, I've outlined the Kubernetes request flow. Could someone please add or highlight any points I might have overlooked?
- how to define StackGres helm chart "restapi" values to use internal LoadBalancer - AWS EKS
- Python3.11 can't open file [Errno 2] No such file or directory
- Cannot find remote pod service - SERVICE_UNAVAILABLE
Related Questions in APACHE-NIFI
- How to split a flow file json in nifi
- Nifi queryrecord compare regex using rpath on first level of record
- How to compare two csv files line by line in apachi nifi flow file using groovy script
- Apache nifi Invoke Http with url containing %2F
- localhost 8443 refused to connect
- Apache NIFI: Unable to write flow content
- Copy/Merge multiple HDFS files using Nifi Processor
- How to count the number of records of a JSON object using JOLT
- Jolt to remove the slashes and extract the nested json
- Customize Apache Nifi Frontend
- Apache NIFI getMongo An unexpected error has occurred: The specified data reference URI is not valid
- Filter JSON Array to Keep Only the Entry with the Latest Date/Time Using Jolt
- How to get hold of input file from a flowfile?
- How to let Airflow know that a Ni-Fi pipeline involving multiple flows is complete
- Creating connection from RouteOnAttribute to GetFile
Related Questions in APACHE-NIFI-REGISTRY
- Convert flow file contents of ExecuteStreamCommand to Json format
- Apache Nifi: how to set the content of a flow file as an attribute
- p12 certificate not working on mac (Ventura 13.4.1)
- ssl certificate not working - ERR_BAD_SSL_CLIENT_AUTH_CERT
- Nifi registry not considering environmental variable NIFI_REGISTRY_WEB_HTTPS_PORT
- In apache nifi can getsftp be a subsequent processor
- Nifi-registry pod error on flow_git when using custom image
- NiFi-Registry and Git Integration: Git User configuration and authentication
- Problem with connecting Nifi and Nifi registry via LDAP (anonymous user)
- NiFI registry encrypt-config.sh does not encrypt the providers.xml "Remote Access Password"
- When init nifi-toolkit/encrypt-config.sh, in nifi-registry.properties doesn't have encrypted password for nifi.registry.db.password
- Upgrade Nifi Registry
- Apache Nifi Install not working with java 8 (Launched Apache NiFi but could not determined the Process ID)
- NiFi Registry Access Denied
- How to add keystore and truststore of NiFi registry server to access NiFi registry URL from NiFi server
Related Questions in APACHE-MINIFI
- executescript problems when i will going to show this message
- How can I backup nifi processes when restarting Kuberntes pod?
- How to configure Database Driver Location(s) in a Nifi process when Nifi is runing on a Kuberntes pod
- Nifi/Minifi: Failed because FlowFile had an "http.context.identifier" attribute of but could not find an HTTP Response Object for this identifier
- Nifi/Minifi: The rate of the dataflow is exceeding the provenance recording rate. Slowing down flow to accommodate
- Insert/Update Data into multiple tables using NiFi in a single Transaction
- REST API INTEGRATION WITH APACHE NIFI (Getting data from kafka -transform ->generate token (POST)-> post API )
- MiNiFi GetFile processor fails to get large files
- Is there a way to skip the MiNiFi properties validation?
- What causes version of NiFi component to update?
- Can I programmatically get the root uri of a NiFi flow?
- Is there a way to programmatically receive target uri for NiFi remote process group?
- Minifi C2 server error connecting to nifi to get the template
- Remote Process Group for NiFi behind NGINX proxy Unauthorized/Anonymous
- Securing minifi c++ agent against remote NIFI
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

You might be deploying the helm with default config or you are tweaking any configs also?
i have not used nifi but i think enabling the PVC config for nifi might resolve your resolve.
https://github.com/cetic/helm-nifi/blob/master/values.yaml#L211
You can enable the PVC by changing the
values.yamlline number.if you have already created volumes you can also use it.