Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To use DataLake, you need to have at least one of these systems ready. Once DataLake is deployed, you can configure Topic and storage in the DataLake Admin UI.


Deployment Steps

Preconfiguration of tiller and helm

DL-handler consists of two pods- the feeder and admin UI. It can be deployed by using cloudify Helm plug-in. Since the tiller IP address and port should be exposed and accessed by Helm, some additional configuration steps are needed. the detailed pre-configuration steps can be found in the Cloudify Helm Plugin wiki page.

Transfer blueprint component inputs file in DCAE bootstrap POD under / directory

Next, the cloudify input file of datalake should be placed into bootstrap pod. The input file can be found in ONAP git repository. Once you clone the repository, the blueprint file could be copied to the DCAE bootstrap pod through the command line.

Code Block
languagebash
themeMidnight
titleDownload Blueprint to the pod.
linenumberstrue
kubectl cp <source directory>/components/datalake-handler/dpo/blueprint/k8s-datalake-helm-input.yaml <DCAE bootstrap pod>:/blueprint -n onap

Log-in to the DCAE bootstrap POD's main container

The following command lets you log in to the DCAE bootstrap pod.

Code Block
languagebash
themeMidnight
titleValidate Blueprint
linenumberstrue
kubectl exec -it <DCAE bootstrap pod> /bin/bash -n onap

Validate blueprint

Code Block
languagebash
themeMidnight
titleValidate Blueprint
linenumberstrue
cfy blueprints validate /blueprints/k8s-dl-handler.yaml

Upload the blueprint to cloudify manager.

Code Block
languagebash
themeMidnight
titleValidate Blueprint
linenumberstrue
cfy blueprint upload -b datalake /bluerint/k8s-helm.yaml 

Verify Plugin versions in target Cloudify instance match to blueprint imports

If the version of plugin used is different, update the blueprint import to match.

Code Block
languagebash
themeMidnight
titleVerify Plugin version
linenumberstrue
cfy plugins list

Input file modification

Before deployment, the input file should be edited to point to your tiller service and helm repository. The input file should be placed in /blueprints.

...

Code Block
languagebash
themeMidnight
titleUpload and deploy blueprint
linenumberstrue
cfy install -b datalake -d datalake-deployment -i /blueprints/k8s-datalake-helm-input.yaml /blueprints/k8s-helm.yaml

To

...

Un-deploy

Uninstall running component and delete deployment

Code Block
languagebash
themeMidnight
titleUninstall component
linenumberstrue
cfy uninstall datalake-deployment 

Delete blueprint

Code Block
languagebash
themeMidnight
titleDelete blueprint
linenumberstrue
cfy blueprints delete 

...

datalake



Initial Validation

After deployment, verify if dl-handler POD and mongoDB pod are running correctly

...