diff options
author | Jack Lucas <jflos@sonoris.net> | 2021-06-03 12:55:52 -0400 |
---|---|---|
committer | Jack Lucas <jflos@sonoris.net> | 2021-06-03 13:10:44 -0400 |
commit | fa2da723f3a604ec852b7a5a11c5703e2c0674ea (patch) | |
tree | 999fb365946ce755cb1e0cb511755c3479b88955 /scripts/bootstrap.sh | |
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
Diffstat (limited to 'scripts/bootstrap.sh')
-rwxr-xr-x | scripts/bootstrap.sh | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 035c62d..0f4c15c 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -16,12 +16,24 @@ # limitations under the License. # ============LICENSE_END========================================================= -# Install DCAE via Cloudify Manager +# Prior to the "H" release, this bootstrap script was used to deploy DCAE components +# during the initial DCAE installation process using Cloudify Manager with Cloudify +# blueprints. Over the course of several releases, we have migrated these components to use Helm +# deployment, starting with the DCAE "platform components" and, in the "H" release, the 4 +# DCAE microservices that are always launched when DCAE is deployed. +# +# For the "I" release, we are expecting to migrate all DCAE microservices to Helm deployment, +# including the microservices that are launched on demand after initial DCAE installation. +# We are continuing to provide support for Cloudify deployments during the "I" release. This +# bootstrap script will deploy the Cloudify blueprint that initializes the Cloudify-based +# DCAE postgres instance and will upload all of the DCAE Cloudify blueprints to the DCAE +# inventory component. The bootstrap container will continue to run after its deployment and +# upload work is complete. User can "exec" into the bootstrap container and use the Cloudify +# "cfy" command to debug any issues related to Cloudify deployments. +# # Expects: # CM address (IP or DNS) in CMADDR environment variable # CM password in CMPASS environment variable (assumes user is "admin") -# ONAP common Kubernetes namespace in ONAP_NAMESPACE environment variable -# If DCAE components are deployed in a separate Kubernetes namespace, that namespace in DCAE_NAMESPACE variable. # Blueprints for components to be installed in /blueprints # Input files for components to be installed in /inputs # Optionally, allows: @@ -116,7 +128,6 @@ function deploy { fi } - ### END FUNCTION DEFINTIONS ### set -x @@ -142,13 +153,6 @@ set +e # Initialize the DCAE postgres instance deploy pgaas_initdb k8s-pgaas-initdb.yaml k8s-pgaas-initdb-inputs.yaml -# Deploy service components -# tcagen2, ves, prh, hv-ves, datafile-collector can be deployed simultaneously -deploy tcagen2 k8s-tcagen2.yaml k8s-tcagen2-inputs.yaml & -deploy ves-tls k8s-ves.yaml k8s-ves-inputs-tls.yaml & -deploy prh k8s-prh.yaml k8s-prh-inputs.yaml & -deploy hv-ves k8s-hv-ves.yaml k8s-hv_ves-inputs.yaml & - # Display deployments, for debugging purposes cfy deployments list |