commit | fa2da723f3a604ec852b7a5a11c5703e2c0674ea | [log] [tgz] |
---|---|---|
author | Jack Lucas <jflos@sonoris.net> | Thu Jun 03 12:55:52 2021 -0400 |
committer | Jack Lucas <jflos@sonoris.net> | Thu Jun 03 13:10:44 2021 -0400 |
tree | 999fb365946ce755cb1e0cb511755c3479b88955 | |
parent | f5d20c5ca01ca229f7637961d47b3e39406df751 [diff] |
Remove DCAE microservice component from bootstrap All of the "statically-deployed" DCAE microservices are now being deployed with Helm, so it is no longer necessary to deploy them via Cloudify in the DCAE bootstrap process. Issue-ID: DCAEGEN2-2617 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: Id40b7891cf4b836d22ddc338410b8b872fb08c69
This repository holds the source code needed to build the Docker image for the DCAE bootstrap container. The bootstrap container runs at DCAE deployment time (via a Helm chart) and does initial setup of the DCAE environment.
This repository also holds Cloudify blueprints for service components. The Docker build process copies these blueprints into the Docker image for the bootstrap container.
Note: Prior to the Frankfurt release (R6), this repository held blueprint templates for components deployed using Cloudify Manager. The build process for this repository expanded the templates and pushed them to the Nexus raw repository. The DCAE bootstrap container was hosted in the dcaegen2.deployments
repository. The Docker build process for the bootstrap containter image pulled the blueprints it needed from the Nexus raw repository.
This container is responsible for loading blueprints onto the DCAE inventory component. It also provides an environment for debugging any issues related to Cloudify deployments, since it has the Cloudify "cfy" command line tool available.
The Docker image build process loads blueprints into the image's file system. The blueprints are copied from the blueprints
directory in this repository. At run time, the main script in the container (bootstrap.sh
) uploads the blueprints to the DCAE inventory component.
The container expects to be started with two environment variables:
CMADDR
-- the address of the target Cloudify ManagerCMPASS
-- the password for Cloudify ManagerThe container expects input files to use when deploying the blueprints. It expects to find them in /inputs. The normal method for launching the container is via a Helm Chart launched by OOM. That chart creates a Kubernetes ConfigMap containing the input files. The ConfigMap is mounted as a volume at /inputs.