This topic describes how to install Spring Cloud Data Flow (SCDF) in a Tanzu Application Platform (TAP) cluster.
First, install TAP using the full profile. See the TAP documentation.
Install SCDF in the TAP cluster
This example assumes:
- You installed the SCDF system for Kubernetes using the Bitnami Helm chart.
- The namespace was specified as
scdf
. - The service is installed on port 80 using
LoadBalancer
.
There is also a Carvel package that can be used to install Spring Cloud Data Flow on your TAP cluster.
After the LoadBalancer
EXTERNAL-IP address has been assigned, you must capture it so that you can access the SCDF API and UI.
You can use the following command to see the assigned IP address:
You should see something like this:
You can now set an environment variable in your terminal:
Add the stream apps
To create a stream, you must have the stream apps that make up your stream registered with the SCDF server. There are two ways to do this:
- Using the SCDF shell
- Using the SCDF API server
First, register the Docker images for the time
and log
stream apps.
Using the SCDF shell
You can download the most recent shell Java JAR file, spring-cloud-dataflow-shell-2.11.5.jar
, from Maven Central.
To start the shell, run:
Where SCDF_URL
was set in the previous section.
After the shell is up and running, register the two apps:
Using the SCDF API server
Using curl
, run the following commands to register the two apps:
Next, create a supply chain for the SCDF streams. See Create a supply chain.
Content feedback and comments