...
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | Validate Blueprint |
---|
linenumbers | true |
---|
|
cfy blueprints validate /blueprints/k8s-dl-handler.yaml |
- Upload the blueprint to cloudify manager.
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | Validate Blueprint |
---|
linenumbers | true |
---|
|
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 |
---|
language | bash |
---|
theme | Midnight |
---|
title | Verify Plugin version |
---|
linenumbers | true |
---|
|
cfy plugins list |
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 |
---|
language | bash |
---|
theme | Midnight |
---|
title | Upload and deploy blueprint |
---|
linenumbers | true |
---|
|
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 |
---|
language | bash |
---|
theme | Midnight |
---|
title | Upload and deploy blueprint |
---|
linenumbers | true |
---|
|
cfy install -b |
...
...
...
deployment -i /blueprints/k8s- |
...
...
...
input.yaml /blueprints/k8s- |
...
To un-deploy
Uninstall running component and delete deployment
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | Uninstall component |
---|
linenumbers | true |
---|
|
cfy uninstall dldatalake-handlerdeployment |
Delete blueprint
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | Delete blueprint |
---|
linenumbers | true |
---|
|
cfy blueprints delete dl-handler
|
...