blob: 683daf7ec39612bf783e391328f8dd3870c992e9 [file] [log] [blame]
Scott Baker2f8fe3a2022-05-09 10:48:16 -07001# SPDX-FileCopyrightText: 2022-present Intel Corporation
Scott Baker69654392021-09-17 13:50:16 -07002# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
3#
Sean Condon160ec1d2022-02-08 12:58:25 +00004# SPDX-License-Identifier: Apache-2.0
Scott Baker69654392021-09-17 13:50:16 -07005
6# Default values for all Aether Helm charts.
7# This is a YAML-formatted file.
8# Declare variables to be passed into your templates.
9
10global:
11 fullnameOverride: "onos"
12 nameOverride: ""
13 image:
14 registry: ""
15 tag: ""
16 store:
17 consensus:
18 enabled: true
19 name: ""
20 image:
21 registry: ""
22 repository: atomix/atomix-raft-storage-node
23 tag: ""
24 pullPolicy: IfNotPresent
25 pullSecrets: []
26 clusters: 1
27 replicas: 1
28 partitions: 1
29 raft: {}
30 persistence:
31 storageClass: ""
32 storageSize: 1Gi
33
34import:
35 onos-topo:
36 enabled: true
37 onos-config:
38 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070039 onos-cli:
40 enabled: true
41 aether-roc-api:
42 enabled: true
43 aether-roc-gui:
SeanCondon2c1412a2022-04-26 11:50:05 +010044 v2-0:
Sean Condonfd3c9a42022-02-16 21:07:06 +000045 enabled: false
SeanCondon2c1412a2022-04-26 11:50:05 +010046 v2-1:
47 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070048 sdcore-adapter:
Scott Baker4bc86242022-04-19 15:45:51 -070049 v2-0:
Scott Bakere35e6832022-01-10 15:48:08 -080050 enabled: false
Scott Bakeraefb9272022-04-18 09:47:47 -070051 v2-1:
52 enabled: true
Scott Baker2f8fe3a2022-05-09 10:48:16 -070053 sdcore-prom-kafka:
54 enabled: false
Scott Baker69654392021-09-17 13:50:16 -070055 subscriber-proxy:
56 enabled: true
57 sdcore-test-dummy:
58 enabled: true
59 grafana:
60 enabled: true #also enable the proxy below
61 prometheus:
Sean Condon02466612021-10-22 17:08:25 +010062 acc:
63 enabled: true # controls its plproxy too
64 amp:
65 enabled: true # controls its plproxy too
66 ace:
67 enabled: true
Sean Condon98fde362021-11-04 15:58:35 +000068 prom-label-proxy:
69 acc:
70 enabled: true
71 amp:
72 enabled: true
Scott Bakeraac30df2022-04-29 13:53:17 -070073 aether-mock-exporter:
Sean Condon25c7bf52021-11-06 11:53:59 +000074 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070075
76# ONOS-TOPO
77onos-topo:
78 store:
79 consensus:
80 enabled: false
81
82# ONOS-GUI
83onos-gui: {}
84
85# ONOS-CLI
86onos-cli: {}
87
88# Aether ROC API
89aether-roc-api: {}
90
91# Aether ROC GUI
Sean Condon44c78b92022-02-18 13:12:12 +000092aether-roc-gui-v2:
93 nameOverride: aether-roc-gui-v2
94 fullnameOverride: aether-roc-gui-v2
Scott Baker69654392021-09-17 13:50:16 -070095 grafana:
96 proxyEnabled: true
97 service: aether-roc-umbrella-grafana # the grafana hostname - use FQDN for other namespaces
98 prometheus:
Sean Condon44c78b92022-02-18 13:12:12 +000099 acc:
100 proxyEnabled: true
101 service: prom-label-proxy-acc
102 protocol: http
103 port: 8080
104 amp:
105 proxyEnabled: true
106 service: prom-label-proxy-amp
107 protocol: http
108 port: 8080
109 site:
110 - name: ace1
111 service: aether-roc-umbrella-prometheus-ace-server
112 protocol: http
113 port: 80
Scott Baker69654392021-09-17 13:50:16 -0700114
SeanCondon34f31872022-07-22 16:37:09 +0100115aether-roc-gui-v2-1:
116 nameOverride: aether-roc-gui-v2-1
117 fullnameOverride: aether-roc-gui-v2-1
118 feature:
119 aether: true
120 sdnfabric: false
Sean Condonb44c6ce2021-10-01 15:29:32 +0100121 grafana:
122 proxyEnabled: true
123 service: aether-roc-umbrella-grafana # the grafana hostname - use FQDN for other namespaces
124 prometheus:
Sean Condon02466612021-10-22 17:08:25 +0100125 acc:
126 proxyEnabled: true
127 service: prom-label-proxy-acc
128 protocol: http
129 port: 8080
130 amp:
131 proxyEnabled: true
132 service: prom-label-proxy-amp
133 protocol: http
134 port: 8080
135 site:
136 - name: ace1
137 service: aether-roc-umbrella-prometheus-ace-server
138 protocol: http
139 port: 80
Sean Condonb44c6ce2021-10-01 15:29:32 +0100140
Scott Baker69654392021-09-17 13:50:16 -0700141# SD-Core Adapter
Scott Baker4bc86242022-04-19 15:45:51 -0700142sdcore-adapter-v2-0:
143 fullnameOverride: sdcore-adapter-v2-0
Scott Baker69654392021-09-17 13:50:16 -0700144 prometheusEnabled: false
Scott Bakerb59cc802022-03-04 15:17:33 -0800145 partialUpdateEnabled: true
Scott Baker69654392021-09-17 13:50:16 -0700146
Scott Bakeraefb9272022-04-18 09:47:47 -0700147sdcore-adapter-v2-1:
Scott Baker4bc86242022-04-19 15:45:51 -0700148 fullnameOverride: sdcore-adapter-v2-1
Scott Bakered05fb52021-10-13 09:21:47 -0700149 prometheusEnabled: false
Scott Bakeraefb9272022-04-18 09:47:47 -0700150 partialUpdateEnabled: true
Scott Bakered05fb52021-10-13 09:21:47 -0700151
Scott Baker69654392021-09-17 13:50:16 -0700152# Subscriber Proxy
153subscriber-proxy:
154 nameOverride: subscriber-proxy
155 fullnameOverride: subscriber-proxy
156 prometheusEnabled: false
157
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530158# Prom label Proxy
Sean Condon02466612021-10-22 17:08:25 +0100159prom-label-proxy-amp:
160 nameOverride: prom-label-proxy-amp
161 fullnameOverride: prom-label-proxy-amp
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530162 prometheusEnabled: false
Sean Condon02466612021-10-22 17:08:25 +0100163 config:
164 upstream: http://aether-roc-umbrella-prometheus-amp-server
165
166prom-label-proxy-acc:
167 nameOverride: prom-label-proxy-acc
168 fullnameOverride: prom-label-proxy-acc
169 prometheusEnabled: false
170 config:
171 upstream: http://aether-roc-umbrella-prometheus-acc-server
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530172
Prateek Sarda2cf72f62021-10-26 13:43:10 +0000173grafana:
174 sidecar:
175 dashboards:
176 enabled: true
177 label: grafana_dashboard
Prateek Sardaa775b672021-11-01 11:19:18 +0000178 labelValue: aether-roc-gui
179 datasources:
180 enabled: true
181 label: grafana_datasource
182 labelValue: aether-roc-gui
183 source:
184 - name: acc
185 protocol: http
186 service: aether-roc-umbrella-prometheus-acc-server
187 port: 80
188 - name: amp
189 protocol: http
190 service: aether-roc-umbrella-prometheus-amp-server
191 port: 80
192 - name: acme-chicago
193 protocol: http
194 service: aether-roc-umbrella-prometheus-ace-server
195 port: 80
196 - name: starbucks-newyork
197 protocol: http
198 service: aether-roc-umbrella-prometheus-ace-server
199 port: 80
200 - name: starbucks-seattle
201 protocol: http
202 service: aether-roc-umbrella-prometheus-ace-server
203 port: 80
Scott Baker69654392021-09-17 13:50:16 -0700204 grafana.ini:
205 log:
206 level: debug
207 server:
Prateek Sardac3a50d32021-11-10 12:40:17 +0000208 domain: aether-roc-gui:8183
209 root_url: "%(protocol)s://%(domain)s/grafana/"
Scott Baker69654392021-09-17 13:50:16 -0700210 serve_from_sub_path: true
Prateek Sardac3a50d32021-11-10 12:40:17 +0000211 security:
212 allow_embedding: true
213 auth:
214 disable_login_form: true
215 oauth_auto_login: true
Scott Baker69654392021-09-17 13:50:16 -0700216 auth.anonymous:
Prateek Sardac3a50d32021-11-10 12:40:17 +0000217 enabled: false
218 hide_version: false
219# Disabled other auth types for the moment - see aether-roc-gui/docs/grafana.md
220 auth.proxy:
221 enabled: false
222 header_name: X-WEBAUTH-USER
223 header_property: username
224 auto_sign_up: true
225 enable_login_token: true
226 auth.jwt:
227 enabled: false
228 header_name: X-JWT-Assertion
229 username_claim: name
230 email_claim: email
231 jwk_set_url: "https://keycloak.opennetworking.org/auth/realms/master/protocol/openid-connect/certs"
Sean Condon65dbad92022-02-04 13:36:47 +0000232 cache_ttl: 60m
Prateek Sardac3a50d32021-11-10 12:40:17 +0000233 auth.generic_oauth:
Scott Baker69654392021-09-17 13:50:16 -0700234 enabled: true
Prateek Sardac3a50d32021-11-10 12:40:17 +0000235 client_id: aether-roc-gui
236# client_secret: YWV0aGVyLXJvYy1ndWkK
237 scopes: "openid profile email groups"
238 empty_scopes: false
239 auth_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/auth"
240 token_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/token"
241 api_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/userinfo"
242 allowed_domains: opennetworking.org
243 allow_sign_up: true
244 name: KeyCloak
Scott Baker69654392021-09-17 13:50:16 -0700245
Sean Condon02466612021-10-22 17:08:25 +0100246prometheus-acc:
Scott Baker69654392021-09-17 13:50:16 -0700247 pushgateway:
248 enabled: false
249 nodeExporter:
250 enabled: false
251 kubeStateMetrics:
252 enabled: false
253 alertmanager:
254 configMapOverrideName: alertmanager
Scott Baker69654392021-09-17 13:50:16 -0700255 serverFiles:
256 alerting_rules.yml:
257 groups:
258 - name: UeAlerts
259 rules:
260 - alert: UeThroughputLow
261 expr: ue_throughput < 9000
262 for: 1m
263 labels:
264 severity: info
265 annotations:
266 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput has been low for more than 1 minutes.'
267 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput low'
268 - alert: UeLatencyHigh
269 expr: ue_latency > 8
270 for: 1m
271 labels:
272 severity: info
273 annotations:
274 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency has been high for more than 1 minutes.'
275 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency high'
276 - name: VcsAlerts
277 rules:
278 - alert: VcsThroughputLow
279 expr: vcs_throughput < 9000
280 for: 1m
281 labels:
282 severity: info
283 annotations:
284 description: 'VCS {{ $labels.vcs_id }} throughput has been low for more than 1 minutes.'
285 summary: 'VCS {{ $labels.vcs_id }} throughput low'
286 - alert: VcsLatencyHigh
287 expr: vcs_latency > 30
288 for: 1m
289 labels:
290 severity: warn
291 annotations:
292 description: 'VCS {{ $labels.vcs_id }} latency has been high for more than 1 minutes.'
293 summary: 'VCS {{ $labels.vcs_id }} latency high'
294 - alert: VcsJitterHigh
295 expr: vcs_jitter > 8
296 for: 1m
297 labels:
298 severity: page
299 annotations:
300 description: 'VCS {{ $labels.vcs_id }} jitter has been high for more than 1 minutes.'
301 summary: 'VCS {{ $labels.vcs_id }} jitter high'
302 prometheus.yml:
303 scrape_configs:
Scott Bakeraac30df2022-04-29 13:53:17 -0700304 - job_name: aether-mock-exporter
Scott Baker69654392021-09-17 13:50:16 -0700305 scrape_interval: 2s
306 static_configs:
307 - targets:
Scott Bakeraac30df2022-04-29 13:53:17 -0700308 - aether-mock-exporter:2112
Sean Condon02466612021-10-22 17:08:25 +0100309
310prometheus-amp:
311 pushgateway:
312 enabled: false
313 nodeExporter:
314 enabled: false
315 kubeStateMetrics:
316 enabled: false
317 alertmanager:
318 enabled: false
319 serverFiles:
320 prometheus.yml:
321 scrape_configs:
Scott Bakeraac30df2022-04-29 13:53:17 -0700322 - job_name: aether-mock-exporter
Sean Condon02466612021-10-22 17:08:25 +0100323 scrape_interval: 2s
324 static_configs:
325 - targets:
Scott Bakeraac30df2022-04-29 13:53:17 -0700326 - aether-mock-exporter:2112
Sean Condon65dbad92022-02-04 13:36:47 +0000327
Sean Condon02466612021-10-22 17:08:25 +0100328prometheus-ace:
329 pushgateway:
330 enabled: false
331 nodeExporter:
332 enabled: false
333 kubeStateMetrics:
Prateek Sardaa775b672021-11-01 11:19:18 +0000334 enabled: true
Sean Condon02466612021-10-22 17:08:25 +0100335 alertmanager:
336 enabled: false
337 serverFiles:
338 prometheus.yml:
339 scrape_configs:
Scott Bakeraac30df2022-04-29 13:53:17 -0700340 - job_name: aether-mock-exporter
Sean Condon02466612021-10-22 17:08:25 +0100341 scrape_interval: 2s
342 static_configs:
343 - targets:
Scott Bakeraac30df2022-04-29 13:53:17 -0700344 - aether-mock-exporter:2112
Prateek Sardaa775b672021-11-01 11:19:18 +0000345 - job_name: kube-state-metrics
346 scrape_interval: 2s
347 static_configs:
348 - targets:
349 - aether-roc-umbrella-kube-state-metrics:8080
Sean Condon02466612021-10-22 17:08:25 +0100350
Scott Baker69654392021-09-17 13:50:16 -0700351# SD-Core Test Dummy
352# proxy_pass has to be added or nginx will not log the $request_body
353sdcore-test-dummy:
354 service:
355 type: ClusterIP
356 existingServerBlockConfigmap: aether-roc-umbrella-sdcore-test-dummy
357
358# ONOS-CONFIG
359onos-config:
360 store:
361 consensus:
362 enabled: false
Sean Condon65dbad92022-02-04 13:36:47 +0000363 modelPlugins:
364 - name: aether-2
SeanCondon1261c882022-08-11 11:52:37 +0100365 image: onosproject/aether-2.0.x:2.0.12-aether-2.0.x
Sean Condon65dbad92022-02-04 13:36:47 +0000366 endpoint: localhost
367 port: 5152
Sean Condon74e8d942022-03-16 19:20:08 +0000368 - name: aether-2-1
SeanCondon1261c882022-08-11 11:52:37 +0100369 image: onosproject/aether-2.1.x:2.1.11-aether-2.1.x
Sean Condon65dbad92022-02-04 13:36:47 +0000370 endpoint: localhost
371 port: 5153
372
Scott Baker69654392021-09-17 13:50:16 -0700373 openpolicyagent:
374 enabled: true
375 regoConfigMap: aether-roc-umbrella-opa-rbac
Andy Bavier955301e2022-04-22 14:34:54 -0700376
377enterprises:
378 - id: starbucks
379 name: Starbucks Enterprise
SeanCondonf49d7fb2022-05-04 18:13:26 +0100380 lat: 47.581115
381 long: -122.335692
Andy Bavier955301e2022-04-22 14:34:54 -0700382 - id: acme
383 name: ACME Enterprise
SeanCondonf49d7fb2022-05-04 18:13:26 +0100384 lat: 41.974568
385 long: -87.782062
Andy Bavier955301e2022-04-22 14:34:54 -0700386 - id: defaultent
387 name: Default Enterprise
SeanCondonf49d7fb2022-05-04 18:13:26 +0100388 lat: 37.453017
389 long: -122.180708