summaryrefslogtreecommitdiffstats
path: root/docs/sections/services/tcagen2-docker/installation-helm.rst
blob: e4a25d9b3693bf1c434f1af5ce74ba58625bb459 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. _tcagen2-installation-helm:


Helm Installation
=================

The TCA-gen2 microservice can be deployed using helm charts in the oom repository.

Deployment Pre-requisites
~~~~~~~~~~~~~~~~~~~~~~~~~
- DCAE and DMaaP pods should be up and running.
- MongoDB should be up and running.

Deployment steps
~~~~~~~~~~~~~~~~

- Default app config values can be updated in oom/kubernetes/dcaegen2-services/components/dcae-tcagen2/values.yaml.

- Make the chart and deploy using the following command:

  .. code-block:: bash

    cd oom/kubernetes/
    make dcaegen2-services
    helm install dev-dcaegen2-services dcaegen2-services --namespace <namespace> --set global.masterPassword=<password>

- To deploy only tcagen2:

  .. code-block:: bash

    helm install dev-dcae-tcagen2 dcaegen2-services/components/dcae-tcagen2 --namespace <namespace> --set global.masterPassword=<password>

- To Uninstall

  .. code-block:: bash

    helm uninstall dev-dcae-tcagen2

Application Configurations
--------------------------
+-------------------------------+------------------------------------------------+
|Configuration                  | Description                                    |
+===============================+================================================+
|streams_subscribes             | Dmaap topics that the MS will consume messages |
+-------------------------------+------------------------------------------------+
|streams_publishes              | Dmaap topics that the MS will publish messages |
+-------------------------------+------------------------------------------------+
|streams_subscribes.            | Max polling Interval for consuming config data |
|tca_handle_in.                 | from dmaap                                     |
|polling.auto_adjusting.max     |                                                |
|                               |                                                |
+-------------------------------+------------------------------------------------+
|streams_subscribes.            | Min polling Interval for consuming config data |
|tca_handle_in.                 | from dmaap                                     |
|polling.auto_adjusting.min     |                                                |
|                               |                                                |
+-------------------------------+------------------------------------------------+
|streams_subscribes.            | Step down in polling Interval for consuming    |
|tca_handle_in.                 | config data from dmaap                         |
|polling.auto_adjusting.        |                                                |
|step_down                      |                                                |
+-------------------------------+------------------------------------------------+
|streams_subscribes.            | Step up polling Interval for consuming config  |
|tca_handle_in.                 | data from dmaap                                |
|polling.auto_adjusting.step_up |                                                |
+-------------------------------+------------------------------------------------+
|spring.data.mongodb.uri        | MongoDB URI                                    |
+-------------------------------+------------------------------------------------+
|tca.aai.generic_vnf_path       | AAI generic VNF path                           |
+-------------------------------+------------------------------------------------+
|tca.aai.node_query_path        | AAI node query path                            |
+-------------------------------+------------------------------------------------+
|tca.aai.password               | AAI password                                   |
+-------------------------------+------------------------------------------------+
|tca.aai.url                    | AAI base URL                                   |
+-------------------------------+------------------------------------------------+
|tca.aai.username               | AAI username                                   |
+-------------------------------+------------------------------------------------+
|streams_subscribes.            | DMAAP Consumer group for subscription          |
|tca_handle_in.consumer_group   |                                                |
+-------------------------------+------------------------------------------------+
|streams_subscribes.            | DMAAP Consumer id for subscription             |
|tca_handle_in.consumer_ids[0]  |                                                |
+-------------------------------+------------------------------------------------+
|tca.policy                     | Policy details                                 |
+-------------------------------+------------------------------------------------+
|tca.processing_batch_size      | Processing batch size                          |
+-------------------------------+------------------------------------------------+
|tca.enable_abatement           | Enable abatement                               |
+-------------------------------+------------------------------------------------+
|tca.enable_ecomp_logging       | Enable ecomp logging                           |
+-------------------------------+------------------------------------------------+