1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
9 Kpi Computation MS can be deployed using cloudify blueprint using bootstrap container of an existing DCAE deployment.
11 Deployment Pre-requisites
12 ~~~~~~~~~~~~~~~~~~~~~~~~~
13 - DCAE and DMaaP pods should be up and running.
15 - PM mapper service should be running.
17 - Make sure that cfy is installed and configured to work with the Cloudify deployment.
22 Execute bash on the bootstrap Kubernetes pod.
24 kubectl -n onap exec -it <dcaegen2-dcae-bootstrap> bash
28 Before the blueprints uploading to Cloudify manager, the blueprints shoule be validated first through the following command.
31 #cfy blueprint validate /bluerints/k8s-kpi-ms.yaml
33 Upload the Blueprint to Cloudify Manager.
34 -----------------------------------------
35 After validating, we can start to proceed blueprints uploading.
38 #cfy blueprint upload -b kpi-ms /bluerints/k8s-kpi-ms.yaml
40 Verify Uploaded Blueprints
41 --------------------------
42 Using "cfy blueprint list" to verify your work.
47 You can see the following returned message to show the blueprints have been correctly uploaded.
48 .. image :: ./blueprint-list.png
51 Verify Plugin Versions
52 ----------------------
53 If the version of the plugin used is different, update the blueprint import to match.
60 Here we are going to create deployments for both feeder and admin UI.
63 #cfy deployments create -b kpi-ms kpi-ms
67 Next, we are going to launch the KPI-MS.
70 #cfy executions start -d kpi-ms install
73 Verify the Deployment Result
74 ----------------------------
75 The following command can be used to list the kpi-ms logs.
79 #kubectl logs <kpi-pod> -n onap
81 The output should looks like.
82 .. image :: ./kpi-log.PNG
86 Uninstall running component and delete deployment
95 #cfy blueprints delete kpi-ms