简体   繁体   中英

Is Apache Nifi ready to use with Kubernetes in production?

I am planning to setup Apache Nifi on Kube.netes and make it to production. During my surfing I didn't find any one who potentially using this combination for production setup.

Is this good idea to choose this combination. Could you please share your thoughts/experience here about the same.

https://community.cloudera.com/t5/Support-Questions/NiFi-on-Kube.netes/td-p/203864

As mentioned in the Comments, work has been done regarding Nifi on Kubernetes, but currently this is not generally available.

It is good to know that there will be dataflow offerings where Nifi and Kubernetes meet in some shape or form during the coming year.* So I would recommend to keep an eye out for this and discuss with your local contacts before trying to build it from scratch.

*Disclaimer: Though I am an employee of Cloudera, the main driving force behind Nifi, I am not qualified to make promises and this is purely my own view.

I would like to invite you to try a Helm chart at https://github.com/Datenworks/apache-nifi-helm

We've been maintaining a 5-node Nifi cluster on GKE (Google Kubernetes Engine) in a production environment without major issues and performing pretty good. Please let me know if you find any issues on running this chart on your environment.

Regarding any high volume set on k8s. Be sure to tune your linux kernel (primarily related to the Linux Connection Tracker (Contrack) service. You will also expect to see non-zero tcp timeouts, retries, out of window acks, et al. Depending on which container.networking implementation is used, there may be additional configuration changes required.

I will assume you are using containerd and NOT using docker.networking (except obviously the container(s) within a pod)

The issue applies to ANY heavy IO pod: kafka, NiFi, mySQL, PostGreSQL, you name it.

The incident increases when:

  • "high" volumes of cross pod (especially cross node) tcp connections occur
  • additional errors if you have large (megabyte or larger) messages

Be aware of any other components using either the Pod or VM tcp stack (eg PVC software supporting NiFi persisted storage)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM