Giter Club home page Giter Club logo

gov-k8-nifi's Introduction

Deploying Apache NiFi in Kubernetes in Azure Government

This repository walks you through setting up an SSL-enabled single instance of Apache NiFi in Kubernetes in Azure Government.

Pre-requisites

You must already have a Kubernetes cluster up and running in Azure Government.

Instructions

  1. Apply the NiFi deployment and service to your Kubernetes cluster:

    kubectl apply -f deployment-nifi.yaml
  2. Install Nginx-ingress and Lets Encrypt kubernetes charts. Make sure you update the LEGO_EMAIL in the second command

    helm install stable/nginx-ingress --name ssl-ingress --set rbac.create=true
    
    helm install --name lego --set [email protected] --set config.LEGO_URL=https://acme-v01.api.letsencrypt.org/directory stable/kube-lego --set rbac.create=true
  3. Retrieve the ingress controller's EXTERNAL-IP address and add an A record for it in your DNS provider. It might take a few minutes for the external IP address to be available.

    kubectl get service ssl-ingress-nginx-ingress-controller 

    Instructions to add an A record for GoDaddy

  4. Update the following values in ingress-ssl.yaml file:

    • rules.host: Set it to whatever hostname.domain you previously configured.
    • rules.http.paths.path: Set it to whatever path you want nifi to reside on. Note that by default, nifi already adds /nifi to the path. So setting this to / will result in https://whatever.domain.com/nifi. If you set this to /foo then your full path will be https://whatever.domain.com/foo/nifi
    • tls.hosts: Same as rules.host
  5. Apply the SSL ingress.

kubectl apply -f ingress-ssl.yaml

Next Steps

Get started with Apache NiFi

Outstanding Items

  • Add persistent volumes
  • Make it multi-instance

gov-k8-nifi's People

Contributors

gsacavdm avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

gov-k8-nifi's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.