cloudflow
A Helm chart for installing Cloudflow
About this chart
Cloudflow
Cloudflow enables you to quickly develop, orchestrate, and operate distributed streaming applications on Kubernetes. With Cloudflow, streaming applications are comprised of small composable components wired together with schema-based contracts. Cloudflow can dramatically accelerate streaming application development—reducing the time required to create, package, and deploy—from weeks to hours.
More information about Cloudflow can be found here:
- https://cloudflow.io
- https://www.lightbend.com/cloudflow-by-lightbend
Prerequisites
- Helm, version 3 or higher.
For evaluation purposes, we recommend using the Strimzi Kafka operator. If Strimzi is used, Cloudflow can create Kafka topics automatically.
https://strimzi.io
For external Kafka clusters, you will have to create the application topics before deploying the application.
Installing
Execute the following commands to install Cloudflow:
$ helm repo add cloudflow-helm-charts https://lightbend.github.io/cloudflow-helm-charts/
$ helm repo update
$ kubectl create ns cloudflow
$ helm install cloudflow cloudflow-helm-charts/cloudflow --namespace cloudflow --name cloudflow --set key=value[,key=value]
NOTE! You will need to customize the Helm chart configuration values. Please refer to the
Configurationchapter below for details on this.
Configuration
The chart can be customized using the following configurable parameters:
| Parameter | Description | Default |
|---|---|---|
cloudflow_operator.image.name | The full cloudflow-operator image name to use, including the registry and repository, without the image tag. | lightbend/cloudflow-operator |
cloudflow_operator.version | The version of the cloudflow-operator. It is also used for the tag of the cloudflow-operator image. | <current version > |
kafkaClusters.default.bootstrapServers | A comma-separated list of host/port pairs to use for establishing the connection to the default Kafka cluster that Cloudflow will use. If no default cluster is defined then any topic in a blueprint without inline Kafka config, or using another provided named cluster, will not be able to run. | nil |
Specify parameters using --set key=value[,key=value] argument to helm install
Alternatively a YAML file that specifies the values for the parameters can be provided like this:
helm install --name cloudflow -f values.yaml lightbend/cloudflow
Deploy cloudflow with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cloudflow 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 chartcloudflow is pinned at v2.3.4-RC5 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