summaryrefslogtreecommitdiffstats
path: root/docs/sections/services/heartbeat-ms/installation.rst
blob: b8aef18a0c6f3f9f8e92c9e11a2f69b8d2827822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Installation
============


Following are steps if manual deployment/undeployment required. 

Steps to deploy are shown below

- 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
 	
          
- 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


- Enter the Bootstrap POD
- Validate blueprint
    .. code-block:: bash
        
        cfy blueprints validate /blueprints/k8s-heartbeat.yaml
- Upload validated blueprint
    .. code-block:: bash
        

        cfy blueprints upload -b heartbeat /blueprints/k8s-heartbeat.yaml
- Create deployment
    .. code-block:: bash
        

        cfy deployments create -b heartbeat -i /k8s-heartbeat-input.yaml heartbeat
- Deploy blueprint
    .. code-block:: bash
        

        cfy executions start -d heartbeat install

To undeploy heartbeat, steps are shown below

- Uninstall running heartbeat and delete deployment
    .. code-block:: bash
        

        cfy uninstall heartbeat
- Delete blueprint
    .. code-block:: bash
        

        cfy blueprints delete heartbeat