spring-cloud-dataflow

by joaquinito2051

Helm chartv14.0.0App 2.9.6

Spring Cloud Data Flow is a microservices-based toolkit for building streaming and batch data processing pipelines in Cloud Foundry and Kubernetes.

About this chart

Spring Cloud Data Flow packaged by Bitnami

Spring Cloud Data Flow is a microservices-based toolkit for building streaming and batch data processing pipelines in Cloud Foundry and Kubernetes.

Overview of Spring Cloud Data Flow

Azure-ready Charts with Containers from marketplace.azurecr.io

This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo

TL;DR

helm repo add my-repo https://charts.bitnami.com/bitnami
helm install my-release my-repo/spring-cloud-dataflow

Introduction

This chart bootstraps a Spring Cloud Data Flow deployment on a Kubernetes cluster using the Helm package manager.

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure

Installing the Chart

To install the chart with the release name my-release:

helm repo add my-repo https://charts.bitnami.com/bitnami
helm install my-release my-repo/spring-cloud-dataflow

These commands deploy Spring Cloud Data Flow on the Kubernetes cluster with the default configuration. The parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release chart:

helm uninstall my-release

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
nameOverrideString to partially override scdf.fullname template (will maintain the release name).""
fullnameOverrideString to fully override scdf.fullname template.""
commonAnnotationsAnnotations to add to all deployed objects{}
commonLabelsLabels to add to all deployed objects{}
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
clusterDomainDefault Kubernetes cluster domaincluster.local
extraDeployArray of extra objects to deploy with the release[]

Dataflow Server parameters

NameDescriptionValue
server.image.registrySpring Cloud Dataflow image registrydocker.io
server.image.repositorySpring Cloud Dataflow image repositorybitnami/spring-cloud-dataflow
server.image.tagSpring Cloud Dataflow image tag (immutable tags are recommended)2.9.6-debian-11-r11
server.image.digestSpring Cloud Dataflow image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
server.image.pullPolicySpring Cloud Dataflow image pull policyIfNotPresent
server.image.pullSecretsSpecify docker-registry secret names as an array[]
server.image.debugEnable image debug modefalse
server.hostAliasesDeployment pod host aliases[]
server.composedTaskRunner.image.registrySpring Cloud Dataflow Composed Task Runner image registrydocker.io
server.composedTaskRunner.image.repositorySpring Cloud Dataflow Composed Task Runner image repositorybitnami/spring-cloud-dataflow-composed-task-runner
server.composedTaskRunner.image.tagSpring Cloud Dataflow Composed Task Runner image tag (immutable tags are recommended)2.9.6-debian-11-r10
server.composedTaskRunner.image.digestSpring Cloud Dataflow Composed Task Runner image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
server.configuration.streamingEnabledEnables or disables streaming data processingtrue
server.configuration.batchEnabledEnables or disables batch data (tasks and schedules) processingtrue
server.configuration.accountNameThe name of the account to configure for the Kubernetes platformdefault
server.configuration.trustK8sCertsTrust K8s certificates when querying the Kubernetes APIfalse
server.configuration.containerRegistriesContainer registries configuration{}
server.configuration.grafanaInfoEndpoint to the grafana instance (Deprecated: use the metricsDashboard instead)""
server.configuration.metricsDashboardEndpoint to the metricsDashboard instance""
server.configuration.defaultSpringApplicationJSONInjects default values for environment variable SPRING_APPLICATION_JSONtrue
server.existingConfigmapConfigMap with Spring Cloud Dataflow Server Configuration""
server.commandOverride default container command (useful when using custom images)[]
server.argsOverride default container args (useful when using custom images)[]
server.lifecycleHooksfor the Dataflow server container(s) to automate configuration before or after startup{}
server.extraEnvVarsExtra environment variables to be set on Dataflow server container[]
server.extraEnvVarsCMConfigMap with extra environment variables""
server.extraEnvVarsSecretSecret with extra environment variables""
server.replicaCountNumber of Dataflow server replicas to deploy1
server.podAffinityPresetDataflow server pod affinity preset. Ignored if server.affinity is set. Allowed values: soft or hard""
server.podAntiAffinityPresetDataflow server pod anti-affinity preset. Ignored if server.affinity is set. Allowed values: soft or hardsoft
server.containerPortDataflow server port8080
server.nodeAffinityPreset.typeDataflow server node affinity preset type. Ignored if server.affinity is set. Allowed values: soft or hard""
server.nodeAffinityPreset.keyDataflow server node label key to match Ignored if server.affinity is set.""
server.nodeAffinityPreset.valuesDataflow server node label values to match. Ignored if server.affinity is set.[]
server.affinityDataflow server affinity for pod assignment{}
server.nodeSelectorDataflow server node labels for pod assignment{}
server.tolerationsDataflow server tolerations for pod assignment[]
server.podAnnotationsAnnotations for Dataflow server pods{}
server.updateStrategy.typeDeployment strategy type for Dataflow server pods.RollingUpdate
server.podLabelsExtra labels f

Deploy spring-cloud-dataflow with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has spring-cloud-dataflow 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartspring-cloud-dataflow is pinned at v14.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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