summaryrefslogtreecommitdiffstats
path: root/docs/sections/services/tca-cdap/installation.rst
blob: 84b4d1e6ee324b46a2fc59e74993b111ab809249 (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
48
49
50
51
Installation
============

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. 

As TCA jar is packaged into docker container, the container can be deployer standalone or via Cloudify Blueprint. 



Following are steps if manual deployment/undeployment required. 

Steps to deploy are shown below

- 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
    
- Modify blueprint  inputs file in DCAE bootstrap POD under /inputs directory. Copy this file to / and update as necessary.


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

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

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

        cfy executions start -d tca install

To undeploy TCA, steps are shown below

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

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

        cfy blueprints delete tca