dcae r6 doc updates cont.
[dcaegen2.git] / docs / sections / services / heartbeat-ms / installation.rst
1 Installation
2 ============
3
4
5 Following are steps if manual deployment/undeployment required. 
6
7 Steps to deploy are shown below
8
9 - Heartbeat MS blueprint is available under bootstrap pod (under /blueprints/k8s-heartbeat.yaml). The blueprint is also maintained in gerrit and can be downloaded from  https://git.onap.org/dcaegen2/platform/blueprints/tree/blueprints/k8s-heartbeat.yaml
10         
11           
12 - Create an input file in DCAE bootstrap POD under / directory. Sample input file can be found under https://git.onap.org/dcaegen2/services/heartbeat/tree/dpo/k8s-heartbeat-inputs.yaml
13
14
15 - Enter the Bootstrap POD
16 - Validate blueprint
17     .. code-block:: bash
18         
19         cfy blueprints validate /blueprints/k8s-heartbeat.yaml
20 - Upload validated blueprint
21     .. code-block:: bash
22         
23
24         cfy blueprints upload -b heartbeat /blueprints/k8s-heartbeat.yaml
25 - Create deployment
26     .. code-block:: bash
27         
28
29         cfy deployments create -b heartbeat -i /k8s-heartbeat-input.yaml heartbeat
30 - Deploy blueprint
31     .. code-block:: bash
32         
33
34         cfy executions start -d heartbeat install
35
36 To undeploy heartbeat, steps are shown below
37
38 - Uninstall running heartbeat and delete deployment
39     .. code-block:: bash
40         
41
42         cfy uninstall heartbeat
43 - Delete blueprint
44     .. code-block:: bash
45         
46
47         cfy blueprints delete heartbeat