blob: 737a9ed3fe9e9de4a53b890dc7d85995409e6cc7 [file] [log] [blame]
Scott Baker69654392021-09-17 13:50:16 -07001# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
2#
Sean Condon160ec1d2022-02-08 12:58:25 +00003# SPDX-License-Identifier: Apache-2.0
Scott Baker69654392021-09-17 13:50:16 -07004
5# Default values for all Aether Helm charts.
6# This is a YAML-formatted file.
7# Declare variables to be passed into your templates.
8
9global:
10 fullnameOverride: "onos"
11 nameOverride: ""
12 image:
13 registry: ""
14 tag: ""
15 store:
16 consensus:
17 enabled: true
18 name: ""
19 image:
20 registry: ""
21 repository: atomix/atomix-raft-storage-node
22 tag: ""
23 pullPolicy: IfNotPresent
24 pullSecrets: []
25 clusters: 1
26 replicas: 1
27 partitions: 1
28 raft: {}
29 persistence:
30 storageClass: ""
31 storageSize: 1Gi
32
33import:
34 onos-topo:
35 enabled: true
36 onos-config:
37 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070038 onos-cli:
39 enabled: true
40 aether-roc-api:
41 enabled: true
Sean Condond7d18342021-10-11 14:25:27 +010042 aether-roc-websocket:
43 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070044 aether-roc-gui:
Sean Condon6fc99682022-02-04 10:48:17 +000045 v2:
Sean Condon9b72e362021-10-07 12:59:21 +010046 enabled: true
Sean Condonfd3c9a42022-02-16 21:07:06 +000047 v4:
48 enabled: false
Scott Baker69654392021-09-17 13:50:16 -070049 sdcore-adapter:
Scott Baker4bc86242022-04-19 15:45:51 -070050 v2-0:
Scott Bakere35e6832022-01-10 15:48:08 -080051 enabled: false
Scott Bakeraefb9272022-04-18 09:47:47 -070052 v2-1:
53 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070054 subscriber-proxy:
55 enabled: true
56 sdcore-test-dummy:
57 enabled: true
58 grafana:
59 enabled: true #also enable the proxy below
60 prometheus:
Sean Condon02466612021-10-22 17:08:25 +010061 acc:
62 enabled: true # controls its plproxy too
63 amp:
64 enabled: true # controls its plproxy too
65 ace:
66 enabled: true
Sean Condon98fde362021-11-04 15:58:35 +000067 prom-label-proxy:
68 acc:
69 enabled: true
70 amp:
71 enabled: true
Sean Condon25c7bf52021-11-06 11:53:59 +000072 demo-exporter:
73 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070074
75# ONOS-TOPO
76onos-topo:
77 store:
78 consensus:
79 enabled: false
80
81# ONOS-GUI
82onos-gui: {}
83
84# ONOS-CLI
85onos-cli: {}
86
87# Aether ROC API
88aether-roc-api: {}
89
90# Aether ROC GUI
Sean Condon44c78b92022-02-18 13:12:12 +000091aether-roc-gui-v2:
92 nameOverride: aether-roc-gui-v2
93 fullnameOverride: aether-roc-gui-v2
Scott Baker69654392021-09-17 13:50:16 -070094 websocket:
95 proxyEnabled: true
96 grafana:
97 proxyEnabled: true
98 service: aether-roc-umbrella-grafana # the grafana hostname - use FQDN for other namespaces
99 prometheus:
Sean Condon44c78b92022-02-18 13:12:12 +0000100 acc:
101 proxyEnabled: true
102 service: prom-label-proxy-acc
103 protocol: http
104 port: 8080
105 amp:
106 proxyEnabled: true
107 service: prom-label-proxy-amp
108 protocol: http
109 port: 8080
110 site:
111 - name: ace1
112 service: aether-roc-umbrella-prometheus-ace-server
113 protocol: http
114 port: 80
Scott Baker69654392021-09-17 13:50:16 -0700115
Sean Condonb44c6ce2021-10-01 15:29:32 +0100116aether-roc-gui-v4:
Sean Condon02466612021-10-22 17:08:25 +0100117 nameOverride: aether-roc-gui-v4
118 fullnameOverride: aether-roc-gui-v4
Sean Condonb44c6ce2021-10-01 15:29:32 +0100119 websocket:
120 proxyEnabled: true
121 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
Sean Condond7d18342021-10-11 14:25:27 +0100255 webhook_url: "http://aether-roc-websocket/webhook"
Scott Baker69654392021-09-17 13:50:16 -0700256 serverFiles:
257 alerting_rules.yml:
258 groups:
259 - name: UeAlerts
260 rules:
261 - alert: UeThroughputLow
262 expr: ue_throughput < 9000
263 for: 1m
264 labels:
265 severity: info
266 annotations:
267 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput has been low for more than 1 minutes.'
268 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput low'
269 - alert: UeLatencyHigh
270 expr: ue_latency > 8
271 for: 1m
272 labels:
273 severity: info
274 annotations:
275 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency has been high for more than 1 minutes.'
276 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency high'
277 - name: VcsAlerts
278 rules:
279 - alert: VcsThroughputLow
280 expr: vcs_throughput < 9000
281 for: 1m
282 labels:
283 severity: info
284 annotations:
285 description: 'VCS {{ $labels.vcs_id }} throughput has been low for more than 1 minutes.'
286 summary: 'VCS {{ $labels.vcs_id }} throughput low'
287 - alert: VcsLatencyHigh
288 expr: vcs_latency > 30
289 for: 1m
290 labels:
291 severity: warn
292 annotations:
293 description: 'VCS {{ $labels.vcs_id }} latency has been high for more than 1 minutes.'
294 summary: 'VCS {{ $labels.vcs_id }} latency high'
295 - alert: VcsJitterHigh
296 expr: vcs_jitter > 8
297 for: 1m
298 labels:
299 severity: page
300 annotations:
301 description: 'VCS {{ $labels.vcs_id }} jitter has been high for more than 1 minutes.'
302 summary: 'VCS {{ $labels.vcs_id }} jitter high'
303 prometheus.yml:
304 scrape_configs:
Sean Condon25c7bf52021-11-06 11:53:59 +0000305 - job_name: demo-exporter
Scott Baker69654392021-09-17 13:50:16 -0700306 scrape_interval: 2s
307 static_configs:
308 - targets:
Sean Condon25c7bf52021-11-06 11:53:59 +0000309 - demo-exporter:2112
Sean Condon02466612021-10-22 17:08:25 +0100310
311prometheus-amp:
312 pushgateway:
313 enabled: false
314 nodeExporter:
315 enabled: false
316 kubeStateMetrics:
317 enabled: false
318 alertmanager:
319 enabled: false
320 serverFiles:
321 prometheus.yml:
322 scrape_configs:
Sean Condon25c7bf52021-11-06 11:53:59 +0000323 - job_name: demo-exporter
Sean Condon02466612021-10-22 17:08:25 +0100324 scrape_interval: 2s
325 static_configs:
326 - targets:
Sean Condon25c7bf52021-11-06 11:53:59 +0000327 - demo-exporter:2112
Sean Condon65dbad92022-02-04 13:36:47 +0000328
Sean Condon02466612021-10-22 17:08:25 +0100329prometheus-ace:
330 pushgateway:
331 enabled: false
332 nodeExporter:
333 enabled: false
334 kubeStateMetrics:
Prateek Sardaa775b672021-11-01 11:19:18 +0000335 enabled: true
Sean Condon02466612021-10-22 17:08:25 +0100336 alertmanager:
337 enabled: false
338 serverFiles:
339 prometheus.yml:
340 scrape_configs:
Sean Condon25c7bf52021-11-06 11:53:59 +0000341 - job_name: demo-exporter
Sean Condon02466612021-10-22 17:08:25 +0100342 scrape_interval: 2s
343 static_configs:
344 - targets:
Sean Condon25c7bf52021-11-06 11:53:59 +0000345 - demo-exporter:2112
Prateek Sardaa775b672021-11-01 11:19:18 +0000346 - job_name: kube-state-metrics
347 scrape_interval: 2s
348 static_configs:
349 - targets:
350 - aether-roc-umbrella-kube-state-metrics:8080
Sean Condon02466612021-10-22 17:08:25 +0100351
Scott Baker69654392021-09-17 13:50:16 -0700352# SD-Core Test Dummy
353# proxy_pass has to be added or nginx will not log the $request_body
354sdcore-test-dummy:
355 service:
356 type: ClusterIP
357 existingServerBlockConfigmap: aether-roc-umbrella-sdcore-test-dummy
358
359# ONOS-CONFIG
360onos-config:
361 store:
362 consensus:
363 enabled: false
Sean Condon65dbad92022-02-04 13:36:47 +0000364 modelPlugins:
365 - name: aether-2
Sean Condon74e8d942022-03-16 19:20:08 +0000366 image: onosproject/aether-2.0.x:2.0.3-aether-2.0.x
Sean Condon65dbad92022-02-04 13:36:47 +0000367 endpoint: localhost
368 port: 5152
Sean Condon74e8d942022-03-16 19:20:08 +0000369 - name: aether-2-1
SeanCondone155baf2022-04-11 18:55:55 +0100370 image: onosproject/aether-2.1.x:2.1.3-aether-2.1.x
Sean Condon65dbad92022-02-04 13:36:47 +0000371 endpoint: localhost
372 port: 5153
373
Scott Baker69654392021-09-17 13:50:16 -0700374 openpolicyagent:
375 enabled: true
376 regoConfigMap: aether-roc-umbrella-opa-rbac
Andy Bavier955301e2022-04-22 14:34:54 -0700377
378enterprises:
379 - id: starbucks
380 name: Starbucks Enterprise
381 lat: 52.5150
382 long: 13.3885
383 - id: acme
384 name: ACME Enterprise
385 lat: 52.5150
386 long: 13.3885
387 - id: defaultent
388 name: Default Enterprise
389 lat: 52.5150
390 long: 13.3885