TIBCO Foresight REST API Dockerfiles and Scripts
Foresight® REST API installation and deployment packages provide all the necessary Dockerfiles, scripts, and configuration files to install, deploy, and uninstall all the Foresight REST API services or deployments.
Dockerfiles and Scripts
A Dockerfile is simply a text-based script of instructions that is used to create a container image.
standalone-deployment and images folder.| File | Description |
|---|---|
build-fsrest-engine.sh
|
Creates the Foresight Instream/Foresight Translator engine used by the Foresight REST API image. |
build-images.sh |
Creates the Foresight REST API Docker images and push the images to the Docker repository. Note:
build-fsrest-engine.sh needs to be run at least once before running build-images.sh. |
deploy-fsrest.sh
|
Deploys the Foresight REST API services onto the Kubernetes cluster. |
docker-run-fsrest.sh
|
Deploys the Foresight REST API image to the Docker registry. |
|
|
Deletes Foresight REST API services from Kubernetes cluster. |
apply_secret_docker_login.sh |
Creates the Kubernetes secret Docker-registry for Docker login. |
stop_fsrest_container.sh
|
Stop and remove the Docker container from the docker registry. |
build-fsrest-image-silent.sh
|
Create the Foresight Instream/Foresight Translator engine and Foresight REST API docker images, it pushes the images to the Docker repository. This script is the silent mode installation process of combination of build-fsrest-engine.sh and build-images.sh. |
Configuration Files
A configuration file (config file) is used to configure the parameters, settings, and preferences.
standalone-deployment and images folder.| File | Description |
|---|---|
configuration.properties
|
Contains the Docker properties to be set before building Foresight REST API docker images. |
build-fsrest-image-silent.properties
|
Contains all other properties to be set before building Foresight REST API docker images with build-fsrest-image-silent.sh. |
deployment.properties |
Contains all the properties that the user has to set to deploy the Docker images to the Kubernetes cluster. |