blob: a3c83390a28b6bb81f65b8f8294c612dd979ab78 (
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
|
# Install R-APPs as DCAE Microservices
DCAE NBI Dashboard API is used to deploy R-APPs.
## Install
Install all R-APPs using cli:
```
./rapps.sh deploy
```
## Uninstall
To uninstall all R-APPs using cli, issue command:
```
./rapps.sh undeploy
```
## Environment variables to Override
There are some environment variables that can be overriden when using shell scripts in this directory.
- NODE_IP
Kubernetes node ip address or hostname. By default this is resolved with another script (../scripts/k8s_get_node_ip.sh)
and that script is using kubectl for that. If you don't have kubectl installed and configured towards this particular
Kubernetes deployment, exporting this variable with your wanted value can be helpful.
- DCAE_DASHBOARD_NODEPORT
By default port 30418 is used for dcae-dashboard.
- DATABASE_PASSWORD
By default kubectl used to resolve value for this from certain ONAP database in script inputs_database_password.sh.
- BLUEPRINTS_DIR
By default 'blueprints' dir is use under this script directory. Can be replaced with absolute/relative path for the directory with the blueprint files.
Also, the list of the blueprint file name is hardcoded in the rapps.sh script:
```shell script
declare -a rapp_blueprint_files=(
${BLUEPRINTS_DIR}/k8s-datacollector.yaml
${BLUEPRINTS_DIR}/k8s-sleepingcelldetector.yaml
)
```
If new blueprint file will be added this list should be adjusted.
- DEPLOYMENT_ID_PREFIX
By default the "samsung" prefix is used.
|