All Projects → AlexsJones → kubernetes-nifi-cluster

AlexsJones / kubernetes-nifi-cluster

Licence: MIT license
Apache Nifi cluster running in kubernetes

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to kubernetes-nifi-cluster

nifi
Deploy a secured, clustered, auto-scaling NiFi service in AWS.
Stars: ✭ 37 (-54.32%)
Mutual labels:  zookeeper, nifi
vacomall
☀️☀️ 基于 dubbo 实现的分布式电商平台。
Stars: ✭ 42 (-48.15%)
Mutual labels:  zookeeper
go-solr
solr go client from sendgrid, zookeeper aware, incorporates retries
Stars: ✭ 39 (-51.85%)
Mutual labels:  zookeeper
xxhadoop
Data Analysis Using Hadoop/Spark/Storm/ElasticSearch/MachineLearning etc. This is My Daily Notes/Code/Demo. Don't fork, Just star !
Stars: ✭ 37 (-54.32%)
Mutual labels:  zookeeper
dockerfiles
Multi docker container images for main Big Data Tools. (Hadoop, Spark, Kafka, HBase, Cassandra, Zookeeper, Zeppelin, Drill, Flink, Hive, Hue, Mesos, ... )
Stars: ✭ 29 (-64.2%)
Mutual labels:  zookeeper
zk
Native ZooKeeper client for Go
Stars: ✭ 369 (+355.56%)
Mutual labels:  zookeeper
codes-scratch-zookeeper-netty
zk + netty 实现集群节点文件同步服务
Stars: ✭ 29 (-64.2%)
Mutual labels:  zookeeper
docker-case
这个项目主要是为了快速拉起docker服务
Stars: ✭ 31 (-61.73%)
Mutual labels:  zookeeper
dis-seckill
⭐⭐⭐⭐SpringBoot+Zookeeper+Dubbo打造分布式高并发商品秒杀系统
Stars: ✭ 187 (+130.86%)
Mutual labels:  zookeeper
beihu-boot
企业级快速开发框架集,提供各种组件的模板方法包装,简化使用成本,供参考学习!
Stars: ✭ 32 (-60.49%)
Mutual labels:  zookeeper
zookeeper-operator
Kubernetes operator for deploying and managing ZooKeeper, Implement OAM framework
Stars: ✭ 18 (-77.78%)
Mutual labels:  zookeeper
php-zookeeper
A PHP extension for interfacing with Apache ZooKeeper
Stars: ✭ 143 (+76.54%)
Mutual labels:  zookeeper
mango
Core utility library & data connectors designed for simpler usage in Scala
Stars: ✭ 41 (-49.38%)
Mutual labels:  zookeeper
fdb-zk
ZooKeeper server on top of FoundationDB
Stars: ✭ 22 (-72.84%)
Mutual labels:  zookeeper
practice
Java并发编程与高并发解决方案:http://coding.imooc.com/class/195.html Java开发企业级权限管理系统:http://coding.imooc.com/class/149.html
Stars: ✭ 39 (-51.85%)
Mutual labels:  zookeeper
nifi
Helm nifi chart
Stars: ✭ 29 (-64.2%)
Mutual labels:  nifi
haskell-zookeeper-client
Apache ZooKeeper client for Haskell (GHC)
Stars: ✭ 16 (-80.25%)
Mutual labels:  zookeeper
kafka-kubernetes
Apache Kafka on Kubernetes
Stars: ✭ 71 (-12.35%)
Mutual labels:  zookeeper
zk cpp
zookeeper client of cpp, base on zookeeper c api
Stars: ✭ 34 (-58.02%)
Mutual labels:  zookeeper
solr-zkutil
Solr Cloud and ZooKeeper CLI
Stars: ✭ 14 (-82.72%)
Mutual labels:  zookeeper

deprecated kubernetes-nifi-cluster please use https://github.com/AlexsJones/nifi

forks stars license issues

A nifi cluster running in kubernetes

Helm chart now available

This repo is now being deprecated in favour of a Helm compatible chart

I am going to appeal to add it into helm/charts as soon as my dependent zookeeper chart is added

Thank you!

Prerequisites

  • This example is using Google Cloud Platform persistent volumes for its backing store (easy to convert to AWS).

  • There is no longer a requirement to install vortex for interpolation.

    • For setting up the environment run:
     docker run -v $PWD:/tmp tibbar/vortex:v1 -template /tmp/templates -output /tmp/deployment -varpath /tmp/environments/default.yaml
    

    This will generate your default environment

  • Requires zookeeper

# Assumes you've checked it out next to the nifi cluster...
cd kubernetes-zookeeper-cluster
docker run -v $PWD:/tmp tibbar/vortex:v1 -template /tmp/templates -output /tmp/deployment -varpath /tmp/environments/small.yaml
kubectl create -f deployment/
cd ../kubernetes-nifi-cluster

Now zookeeper is setup with three nodes on the zk namespace you are ready!

Deploy Nifi

Make sure zk is running to avoid headaches

# Please create the nifi namespace first
# Ensure you have run docker vortex build step mentioned above^

kubectl create ns nifi

kubectl create -f deployment/

Once running you should see...

kubectl get pods -n nifi
NAME      READY     STATUS    RESTARTS   AGE
nifi-0    1/1       Running   0          25m
nifi-1    1/1       Running   0          25m
nifi-2    1/1       Running   0          25m

kubectl get pvc -n nifi
NAME                          STATUS    VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
contentrepository-nifi-0      Bound     pvc-c00b39d5-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d
contentrepository-nifi-1      Bound     pvc-c0116c25-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d
contentrepository-nifi-2      Bound     pvc-c019d7ee-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d
databaserepository-nifi-0     Bound     pvc-c00a3682-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d
databaserepository-nifi-1     Bound     pvc-c00f87a8-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d
databaserepository-nifi-2     Bound     pvc-c017dbe4-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d
flowfilerepository-nifi-0     Bound     pvc-c0096aac-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d
flowfilerepository-nifi-1     Bound     pvc-c00df6bb-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d
flowfilerepository-nifi-2     Bound     pvc-c016020d-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d
provenancerepository-nifi-0   Bound     pvc-c008b6bd-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d
provenancerepository-nifi-1   Bound     pvc-c0132c86-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d
provenancerepository-nifi-2   Bound     pvc-c01aec6b-4710-11e9-b1b0-42010a800055   5Gi        RWO            standard       1d

UI

Port forward to the UX:

kubectl port-forward nifi-0 8080:8080 -n nifi

http://<LB_IP>:8080/nifi/

Scaling

kubectl scale --replicas <COUNT> sts/nifi

Configuration

The environments/ folder can have new files added and used with build_environment.sh <envname> and those values interpolated For more informatino on this please see here

Production readiness

A checklist for consideration I would think about before you want to run this in prod

  • Use an identity aware proxy infront of the load balancer
  • Recovery procedure from the PVC's
  • Scaling, liveliness & readiness probes
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].