dcae r4 doc updates
[dcaegen2.git] / docs / sections / services / tca-cdap / installation.rst
1 Installation
2 ============
3
4 TCA will be deployed by DCAE deployment among the bootstrapped services. This is more to facilitate automated deployment of ONAP regression test cases required services. 
5
6 As TCA jar is packaged into docker container, the container can be deployer standalone or via Cloudify Blueprint. 
7
8
9
10 Following are steps if manual deployment/undeployment required. 
11
12 Steps to deploy are shown below
13
14 - Transfer blueprint component file in DCAE bootstrap POD under /blueprints directory. TCA Blueprint can be found under /blueprint directory. Same is also available on gerrit     https://git.onap.org/dcaegen2/platform/blueprints/tree/blueprints/k8s-tca.yaml-template
15     
16 - Modify blueprint  inputs file in DCAE bootstrap POD under /inputs directory. Copy this file to / and update as necessary.
17
18
19 - Enter the Bootstrap POD
20 - Validate blueprint
21     .. code-block:: bash
22         
23         cfy blueprints validate /blueprints/k8s-tca.yaml
24 - Upload validated blueprint
25     .. code-block:: bash
26         
27
28         cfy blueprints upload -b tca /blueprints/k8s-tca.yaml
29 - Create deployment
30     .. code-block:: bash
31         
32
33         cfy deployments create -b tca -i /k8s-tca-input.yaml tca
34 - Deploy blueprint
35     .. code-block:: bash
36         
37
38         cfy executions start -d tca install
39
40 To undeploy TCA, steps are shown below
41
42 - Uninstall running TCA and delete deployment
43     .. code-block:: bash
44         
45
46         cfy uninstall tca
47 - Delete blueprint
48     .. code-block:: bash
49         
50
51         cfy blueprints delete tca