firehose
by Blip
A Helm chart for Blip Firehose, a complete ETL solution for messaging platforms.
About this chart
Firehose Helm Chart
This repository contains a PUBLIC Github Page with Firehose's helm chart.
The Helm Chart should not contains any internal or confidential information and it is prepared when Firehose become a Open Source project.
This Helm chart deploys the Blip Firehose application.
Check the Firehose's sindicator manager github for more information.
Check also the Firehose's modules git for more information.
This documentation is under construction and will be updated soon.
Installing the Chart and Dependencies
Dependencies
If you want to test Firehose locally we provide a helmfile to install all the dependencies Firehose needs to run properly.
Youu can use the following script:
chmod +x install_dependencies.sh
./install_dependencies.sh
And on Windows:
# TODO: PowerShell script not tested properly yet
install_dependencies.ps1
Firehose
First you must add the Firehose Helm repository:
helm repo add firehose https://stilingue-inteligencia-artificial.github.io/firehose-helm
helm repo update
Then you can install the firehose chart using one of our provided script:
chmod +x install.sh
./install.sh ../firehose/src/
On Windows you can use the following script with PowerShell:
# TODO: PowerShell script not tested properly yet
install.ps1 ..\firehose\src\
The script is needed because of a missing feature in Helm 3. It is not possible to add multiple external files when installing a chart.
Firehose contains several benthos config files that are needed to create ConfigMaps. The script will provide them to the helm install command.
Those files are located in the
srcfolder of the Firehose repository and you must provide the path to the folder as the first argument of the script. By default the script will use the../firehose/srcfolder.The second argument is a values.yaml file and it is optional. If you don't provide it, the script will use the default values.yaml file.
Ingress
This chart also provides an Ingress resource to expose the Firehose API.
To use it on minikube you must enable the ingress addon:
minikube addons enable ingress
minikube addons enable ingress-dns
Check the following documentation to configure the addon properly.
After that you will be able to access the Firehose API using the following URL:
http://api.firehose.test/v1/api
Uninstalling the Chart
To uninstall the firehose deployment run:
helm uninstall firehose
The command removes all the Kubernetes components associated with the chart and deletes the release.
WARNING
It will also delete the MongoDB and Redis deployments if they were deployed by the chart.
It will not delete all PVCs created by the chart. You must delete them manually.
If you try to install the chart again, few resources may fail to start because of the existing PVCs. Example: Keycloak will not be able to connect to the PostgreSQL database.
Dependencies
This chart has the following dependencies:
It will, by default, install all of them. All of them are configured to run in a development environment and should be configured properly for production.
If you already have any of those services running in your cluster, you can disable the installation of the dependency by setting the enabled property to false in the values.yaml file. You will also need to configure the Firehose to use the existing service.
Check the values.yaml file for more information.
Keycloak
The keycloak admin user and password are set to admin and admin by default.
The keycloak ingress is enabled by default. You can access the Keycloak admin console using the following URL:
http://keycloak.firehose.test
Remember to configure the ingress addon properly if you are using minikube.
Grafana
The grafana admin user and password are set to firehose and firehose by default.
The grafana ingress is enabled by default. You can access the Grafana dashboard using the following URL:
http://grafana.firehose.test
Remember to configure the ingress addon properly if you are using minikube.
Deploy firehose with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has firehose on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartfirehose is pinned at v0.0.18 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply