Versions Compared

Key

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

...

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 modified 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
tiller-server-ip: <YOUR_CLUSTER_IP>
tiller-server-port: <TILLER_EXPOSED_PORT>
namespace: onap
chart-repo-url: <YOUR_HELM_REPO>
stable-repo-url: <YOUR_STABLE_HELM_REPO>
chart-version: 1.0.0
component-name: dcae-datalake

...

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


Deploy Service


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 dldatalake-handlerdeployment 


  • Delete blueprint

    Code Block
    languagebash
    themeMidnight
    titleDelete blueprint
    linenumberstrue
    cfy blueprints delete dl-handler
    


...