Merge "Adjustments in DFC certificate documentation"
[dcaegen2.git] / docs / sections / services / heartbeat-ms / installation.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. _heartbeat-installation:
4
5
6 Installation
7 ============
8
9
10 Following are steps if manual deployment/undeployment required. 
11
12 Steps to deploy are shown below
13
14 - 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
15         
16           
17 - 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
18
19
20 - Enter the Bootstrap POD
21 - Validate blueprint
22     .. code-block:: bash
23         
24         cfy blueprints validate /blueprints/k8s-heartbeat.yaml
25 - Upload validated blueprint
26     .. code-block:: bash
27         
28
29         cfy blueprints upload -b heartbeat /blueprints/k8s-heartbeat.yaml
30 - Create deployment
31     .. code-block:: bash
32         
33
34         cfy deployments create -b heartbeat -i /k8s-heartbeat-input.yaml heartbeat
35 - Deploy blueprint
36     .. code-block:: bash
37         
38
39         cfy executions start -d heartbeat install
40
41 To undeploy heartbeat, steps are shown below
42
43 - Uninstall running heartbeat and delete deployment
44     .. code-block:: bash
45         
46
47         cfy uninstall heartbeat
48 - Delete blueprint
49     .. code-block:: bash
50         
51
52         cfy blueprints delete heartbeat