Skip to content

A walk-through setting up an SSL-enabled single instance of Apache NiFi in Kubernetes in Azure Government..

Notifications You must be signed in to change notification settings

gsacavdm/gov-k8-nifi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 config.LEGO_EMAIL=janedoe@contoso.com --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

About

A walk-through setting up an SSL-enabled single instance of Apache NiFi in Kubernetes in Azure Government..

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages