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
titleValidate Blueprint
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 /bluerint/k8s-helm.yaml


  • Verify Plugin versions in target Cloudify instance match to blueprint imports

    Code Block
    languagebash
    themeMidnight
    titleVerify Plugin version
    linenumberstrue
    cfy plugins list

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

  • Deploy Service

    Code Block
    languagebash
    themeMidnight
    titleUpload and deploy blueprint
    linenumberstrue
    cfy install -b dl-handler -d dl-handler -i /k8s-dl-handler-inputs.yaml /blueprints/k8s-dl-handler.yaml


...