forked from OpenVisualCloud/Smart-City-Sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml.m4
92 lines (75 loc) · 2.85 KB
/
values.yaml.m4
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
include(../../../../script/loop.m4)
# docker registry prefix
registryPrefix: "defn(`REGISTRY_PREFIX')"
# platform specifies the target platform: Xeon or VCAC-A.
platform: "defn(`PLATFORM')"
# framework specifies the target framework: gst or ffmpeg.
framework: "defn(`FRAMEWORK')"
# scenario specifies the sample scenario(s) as a list: traffic or stadium. As each
# scenario runs its own set of services and databases, it is recommended that you
# run multiple scenarios only on a multiple-node deployment.
scenario:
looplist(`SCENARIO_NAME',defn(`SCENARIO'),`dnl
- "defn(`SCENARIO_NAME')"
')dnl
# noffices specifies the number of offices in the deployment. Support 1-3
# offices in the traffic scenario and 1 office in the stadium scenario.
noffices: defn(`NOFFICES')
# specify the high availability options for databases
database:
haCloud: defn(`HA_CLOUD')
haOffice: defn(`HA_OFFICE')
# specify the high availability options for SRS
srs:
haOffice: defn(`HA_SRS_OFFICE')
# nCameras specifies the number of cameras served in each office. Currently
# support 1-8 cameras.
ncameras:
traffic: defn(`NCAMERAS')
svcq: defn(`NCAMERAS')
crowd: defn(`NCAMERAS2')
entrance: defn(`NCAMERAS3')
# nAnalytics specifies the number of analytics instances running in each office.
nanalytics:
traffic: defn(`NANALYTICS')
svcq: defn(`NANALYTICS')
crowd: defn(`NANALYTICS2')
entrance: defn(`NANALYTICS3')
# cloudWebExternalIP specifies the external IP to access the Smart City or
# Stadium Sample web-cloud GUI
cloudWebExternalIP: "defn(`HOSTIP')"
# officeLocations provide simulated GPS coordinates for the Smart City & Stadium
# offices
officeLocations:
include(../../../../maintenance/db-init/sensor-info.m4)dnl
looplist(SCENARIO_NAME,defn(`SCENARIOS'),`dnl
defn(`SCENARIO_NAME'):
loopifdef(OFFICEIDX,1,`defn(`SCENARIO_NAME')`_office'defn(`OFFICEIDX')`_location'',`dnl
- "defn(defn(`SCENARIO_NAME')`_office'defn(`OFFICEIDX')`_location')"
')')
# networkPreference specifies the analytics model precision: FP32, INT8 or FP16, or their
# combination as a comma delimited string.
networkPreference: "defn(`NETWORK_PREFERENCE')"
# default settings for IP camera simulation & discovery.
discoverSimulatedCamera: true
cameraRTSPPort: 17000
cameraRTPPort: 27000
cameraPortStep: 10
discoverIPCamera: false
discoverRTMP: true
otType: false
# optional: provide Linux user id & group permissioned to access cloud storage
# userID is obtained using command: `$ id -u`
# groupID is obtained using command: `$ id -g`
userId: defn(`USERID')
groupId: defn(`GROUPID')
# optional: build scope: one of "", "cloud", or "officeN", or "cameraN"
buildScope: ""
# optional: specify connector hosts if they are from different Kubernetes clusters.
connector:
cloudHost: ""
cloudGatewayPort: 28080
officeGatewayPort: 28081
webrtc:
udpPort: 10000
streamingLimit: 10