dcae r4 doc updates
[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 - Transfer blueprint component file in DCAE bootstrap POD under /blueprints directory. Heartbeat Blueprint can be found under https://git.onap.org/dcaegen2/services/heartbeat/tree/dpo/k8s-heartbeat.yaml?h=dublin
10     
11 - Transfer blueprint inputs file in DCAE bootstrap POD under /inputs directory. Sample input file can be found under https://git.onap.org/dcaegen2/services/heartbeat/tree/dpo/k8s-heartbeat-inputs.yaml
12
13
14 - Enter the Bootstrap POD
15 - Validate blueprint
16     .. code-block:: bash
17         
18         cfy blueprints validate /blueprints/k8s-hearttbeat.yaml
19 - Upload validated blueprint
20     .. code-block:: bash
21         
22
23         cfy blueprints upload -b heartbeat /blueprints/k8s-hearttbeat.yaml
24 - Create deployment
25     .. code-block:: bash
26         
27
28         cfy deployments create -b heartbeat -i /k8s-hearttbeat-input.yaml heartbeat
29 - Deploy blueprint
30     .. code-block:: bash
31         
32
33         cfy executions start -d heartbeat install
34
35 To undeploy heartbeat, steps are shown below
36
37 - Uninstall running heartbeat and delete deployment
38     .. code-block:: bash
39         
40
41         cfy uninstall heartbeat
42 - Delete blueprint
43     .. code-block:: bash
44         
45
46         cfy blueprints delete heartbeat