blob: 276ce3315dbcd01aa9a7af41220e4bca2e3d6ce9 [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: ""
SeanCondon4346ab92022-11-30 13:33:08 +000016 atomix:
17 store:
18 consensus:
19 enabled: true
20 name: ""
21 image:
22 registry: ""
23 repository: atomix/consensus-node
24 tag: ""
25 pullPolicy: ""
26 pullSecrets: []
27 replicas: 3
28 partitions: 30
29 config:
30 server: {}
31 raft: {}
32 logging:
33 loggers:
34 root:
35 level: info
36 output:
37 stdout:
38 sink: stdout
39 sinks:
40 stdout:
41 stdout: {}
42 log:
43 storageClass: ""
44 resources:
45 requests:
46 storage: 1Gi
47 securityContext: {}
Scott Baker69654392021-09-17 13:50:16 -070048
49import:
50 onos-topo:
51 enabled: true
52 onos-config:
53 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070054 onos-cli:
55 enabled: true
56 aether-roc-api:
57 enabled: true
58 aether-roc-gui:
SeanCondon2c1412a2022-04-26 11:50:05 +010059 v2-0:
Sean Condonfd3c9a42022-02-16 21:07:06 +000060 enabled: false
SeanCondon2c1412a2022-04-26 11:50:05 +010061 v2-1:
62 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070063 sdcore-adapter:
Scott Baker4bc86242022-04-19 15:45:51 -070064 v2-0:
Scott Bakere35e6832022-01-10 15:48:08 -080065 enabled: false
Scott Bakeraefb9272022-04-18 09:47:47 -070066 v2-1:
67 enabled: true
Scott Baker2f8fe3a2022-05-09 10:48:16 -070068 sdcore-prom-kafka:
69 enabled: false
Scott Baker69654392021-09-17 13:50:16 -070070 subscriber-proxy:
71 enabled: true
72 sdcore-test-dummy:
73 enabled: true
74 grafana:
75 enabled: true #also enable the proxy below
76 prometheus:
Sean Condon02466612021-10-22 17:08:25 +010077 acc:
78 enabled: true # controls its plproxy too
79 amp:
80 enabled: true # controls its plproxy too
81 ace:
82 enabled: true
Sean Condon98fde362021-11-04 15:58:35 +000083 prom-label-proxy:
84 acc:
85 enabled: true
86 amp:
87 enabled: true
Scott Bakeraac30df2022-04-29 13:53:17 -070088 aether-mock-exporter:
Sean Condon25c7bf52021-11-06 11:53:59 +000089 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070090
91# ONOS-TOPO
92onos-topo:
SeanCondon4346ab92022-11-30 13:33:08 +000093 atomix:
94 store:
95 consensus:
96 enabled: false
Scott Baker69654392021-09-17 13:50:16 -070097
98# ONOS-GUI
99onos-gui: {}
100
101# ONOS-CLI
102onos-cli: {}
103
104# Aether ROC API
105aether-roc-api: {}
106
107# Aether ROC GUI
Sean Condon44c78b92022-02-18 13:12:12 +0000108aether-roc-gui-v2:
Scott Baker69654392021-09-17 13:50:16 -0700109 grafana:
110 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000111 service: "{{ .Release.Name }}-grafana" # the grafana hostname - use FQDN for other namespaces
Scott Baker69654392021-09-17 13:50:16 -0700112 prometheus:
Sean Condon44c78b92022-02-18 13:12:12 +0000113 acc:
114 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000115 service: "{{ .Release.Name }}-prom-label-proxy-acc"
Sean Condon44c78b92022-02-18 13:12:12 +0000116 protocol: http
117 port: 8080
118 amp:
119 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000120 service: "{{ .Release.Name }}-prom-label-proxy-amp"
Sean Condon44c78b92022-02-18 13:12:12 +0000121 protocol: http
122 port: 8080
123 site:
124 - name: ace1
SeanCondon9a99c262023-01-09 17:20:49 +0000125 service: "{{ .Release.Name }}-prometheus-ace-server"
Sean Condon44c78b92022-02-18 13:12:12 +0000126 protocol: http
127 port: 80
Scott Baker69654392021-09-17 13:50:16 -0700128
SeanCondon34f31872022-07-22 16:37:09 +0100129aether-roc-gui-v2-1:
SeanCondon34f31872022-07-22 16:37:09 +0100130 feature:
131 aether: true
132 sdnfabric: false
Sean Condonb44c6ce2021-10-01 15:29:32 +0100133 grafana:
134 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000135 service: "{{ .Release.Name }}-grafana" # the grafana hostname - use FQDN for other namespaces
Sean Condonb44c6ce2021-10-01 15:29:32 +0100136 prometheus:
Sean Condon02466612021-10-22 17:08:25 +0100137 acc:
138 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000139 service: "{{ .Release.Name }}-prom-label-proxy-acc"
Sean Condon02466612021-10-22 17:08:25 +0100140 protocol: http
141 port: 8080
142 amp:
143 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000144 service: "{{ .Release.Name }}-prom-label-proxy-amp"
Sean Condon02466612021-10-22 17:08:25 +0100145 protocol: http
146 port: 8080
147 site:
148 - name: ace1
SeanCondon9a99c262023-01-09 17:20:49 +0000149 service: "{{ .Release.Name }}-prometheus-ace-server"
Sean Condon02466612021-10-22 17:08:25 +0100150 protocol: http
151 port: 80
Sean Condonb44c6ce2021-10-01 15:29:32 +0100152
Scott Baker69654392021-09-17 13:50:16 -0700153# SD-Core Adapter
Scott Baker4bc86242022-04-19 15:45:51 -0700154sdcore-adapter-v2-0:
Scott Baker69654392021-09-17 13:50:16 -0700155 prometheusEnabled: false
Scott Bakerb59cc802022-03-04 15:17:33 -0800156 partialUpdateEnabled: true
Scott Baker69654392021-09-17 13:50:16 -0700157
Scott Bakeraefb9272022-04-18 09:47:47 -0700158sdcore-adapter-v2-1:
Scott Bakered05fb52021-10-13 09:21:47 -0700159 prometheusEnabled: false
Scott Bakeraefb9272022-04-18 09:47:47 -0700160 partialUpdateEnabled: true
Scott Bakered05fb52021-10-13 09:21:47 -0700161
Scott Baker69654392021-09-17 13:50:16 -0700162# Subscriber Proxy
163subscriber-proxy:
Scott Baker69654392021-09-17 13:50:16 -0700164 prometheusEnabled: false
165
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530166# Prom label Proxy
Sean Condon02466612021-10-22 17:08:25 +0100167prom-label-proxy-amp:
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530168 prometheusEnabled: false
Sean Condon02466612021-10-22 17:08:25 +0100169 config:
SeanCondon9a99c262023-01-09 17:20:49 +0000170 upstream: "http://{{ .Release.Name }}-prometheus-amp-server"
Sean Condon02466612021-10-22 17:08:25 +0100171
172prom-label-proxy-acc:
Sean Condon02466612021-10-22 17:08:25 +0100173 prometheusEnabled: false
174 config:
SeanCondon9a99c262023-01-09 17:20:49 +0000175 upstream: "http://{{ .Release.Name }}-prometheus-acc-server"
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530176
Prateek Sarda2cf72f62021-10-26 13:43:10 +0000177grafana:
178 sidecar:
179 dashboards:
180 enabled: true
181 label: grafana_dashboard
Prateek Sardaa775b672021-11-01 11:19:18 +0000182 labelValue: aether-roc-gui
183 datasources:
184 enabled: true
185 label: grafana_datasource
186 labelValue: aether-roc-gui
187 source:
188 - name: acc
189 protocol: http
SeanCondon9a99c262023-01-09 17:20:49 +0000190 service: "{{ .Release.Name }}-prometheus-acc-server"
Prateek Sardaa775b672021-11-01 11:19:18 +0000191 port: 80
192 - name: amp
193 protocol: http
SeanCondon9a99c262023-01-09 17:20:49 +0000194 service: "{{ .Release.Name }}-prometheus-amp-server"
Prateek Sardaa775b672021-11-01 11:19:18 +0000195 port: 80
196 - name: acme-chicago
197 protocol: http
SeanCondon9a99c262023-01-09 17:20:49 +0000198 service: "{{ .Release.Name }}-prometheus-ace-server"
Prateek Sardaa775b672021-11-01 11:19:18 +0000199 port: 80
200 - name: starbucks-newyork
201 protocol: http
SeanCondon9a99c262023-01-09 17:20:49 +0000202 service: "{{ .Release.Name }}-prometheus-ace-server"
Prateek Sardaa775b672021-11-01 11:19:18 +0000203 port: 80
204 - name: starbucks-seattle
205 protocol: http
SeanCondon9a99c262023-01-09 17:20:49 +0000206 service: "{{ .Release.Name }}-prometheus-ace-server"
Prateek Sardaa775b672021-11-01 11:19:18 +0000207 port: 80
Scott Baker69654392021-09-17 13:50:16 -0700208 grafana.ini:
209 log:
210 level: debug
211 server:
Prateek Sardac3a50d32021-11-10 12:40:17 +0000212 domain: aether-roc-gui:8183
213 root_url: "%(protocol)s://%(domain)s/grafana/"
Scott Baker69654392021-09-17 13:50:16 -0700214 serve_from_sub_path: true
Prateek Sardac3a50d32021-11-10 12:40:17 +0000215 security:
216 allow_embedding: true
217 auth:
218 disable_login_form: true
219 oauth_auto_login: true
Scott Baker69654392021-09-17 13:50:16 -0700220 auth.anonymous:
Prateek Sardac3a50d32021-11-10 12:40:17 +0000221 enabled: false
222 hide_version: false
223# Disabled other auth types for the moment - see aether-roc-gui/docs/grafana.md
224 auth.proxy:
225 enabled: false
226 header_name: X-WEBAUTH-USER
227 header_property: username
228 auto_sign_up: true
229 enable_login_token: true
230 auth.jwt:
231 enabled: false
232 header_name: X-JWT-Assertion
233 username_claim: name
234 email_claim: email
235 jwk_set_url: "https://keycloak.opennetworking.org/auth/realms/master/protocol/openid-connect/certs"
Sean Condon65dbad92022-02-04 13:36:47 +0000236 cache_ttl: 60m
Prateek Sardac3a50d32021-11-10 12:40:17 +0000237 auth.generic_oauth:
Scott Baker69654392021-09-17 13:50:16 -0700238 enabled: true
Prateek Sardac3a50d32021-11-10 12:40:17 +0000239 client_id: aether-roc-gui
240# client_secret: YWV0aGVyLXJvYy1ndWkK
241 scopes: "openid profile email groups"
242 empty_scopes: false
243 auth_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/auth"
244 token_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/token"
245 api_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/userinfo"
246 allowed_domains: opennetworking.org
247 allow_sign_up: true
248 name: KeyCloak
Scott Baker69654392021-09-17 13:50:16 -0700249
Sean Condon02466612021-10-22 17:08:25 +0100250prometheus-acc:
SeanCondon9a99c262023-01-09 17:20:49 +0000251 prometheus-pushgateway:
Scott Baker69654392021-09-17 13:50:16 -0700252 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000253 prometheus-node-exporter:
Scott Baker69654392021-09-17 13:50:16 -0700254 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000255 kube-state-metrics:
Scott Baker69654392021-09-17 13:50:16 -0700256 enabled: false
257 alertmanager:
SeanCondon466a0842022-08-26 16:10:15 +0100258 enabled: false
Scott Baker69654392021-09-17 13:50:16 -0700259 serverFiles:
260 alerting_rules.yml:
261 groups:
262 - name: UeAlerts
263 rules:
264 - alert: UeThroughputLow
265 expr: ue_throughput < 9000
266 for: 1m
267 labels:
268 severity: info
269 annotations:
270 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput has been low for more than 1 minutes.'
271 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput low'
272 - alert: UeLatencyHigh
273 expr: ue_latency > 8
274 for: 1m
275 labels:
276 severity: info
277 annotations:
278 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency has been high for more than 1 minutes.'
279 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency high'
280 - name: VcsAlerts
281 rules:
282 - alert: VcsThroughputLow
283 expr: vcs_throughput < 9000
284 for: 1m
285 labels:
286 severity: info
287 annotations:
288 description: 'VCS {{ $labels.vcs_id }} throughput has been low for more than 1 minutes.'
289 summary: 'VCS {{ $labels.vcs_id }} throughput low'
290 - alert: VcsLatencyHigh
291 expr: vcs_latency > 30
292 for: 1m
293 labels:
294 severity: warn
295 annotations:
296 description: 'VCS {{ $labels.vcs_id }} latency has been high for more than 1 minutes.'
297 summary: 'VCS {{ $labels.vcs_id }} latency high'
298 - alert: VcsJitterHigh
299 expr: vcs_jitter > 8
300 for: 1m
301 labels:
302 severity: page
303 annotations:
304 description: 'VCS {{ $labels.vcs_id }} jitter has been high for more than 1 minutes.'
305 summary: 'VCS {{ $labels.vcs_id }} jitter high'
306 prometheus.yml:
307 scrape_configs:
Scott Bakeraac30df2022-04-29 13:53:17 -0700308 - job_name: aether-mock-exporter
Scott Baker69654392021-09-17 13:50:16 -0700309 scrape_interval: 2s
310 static_configs:
311 - targets:
Scott Bakeraac30df2022-04-29 13:53:17 -0700312 - aether-mock-exporter:2112
Sean Condon02466612021-10-22 17:08:25 +0100313
314prometheus-amp:
SeanCondon9a99c262023-01-09 17:20:49 +0000315 prometheus-pushgateway:
Sean Condon02466612021-10-22 17:08:25 +0100316 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000317 prometheus-node-exporter:
Sean Condon02466612021-10-22 17:08:25 +0100318 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000319 kube-state-metrics:
Sean Condon02466612021-10-22 17:08:25 +0100320 enabled: false
321 alertmanager:
322 enabled: false
323 serverFiles:
324 prometheus.yml:
325 scrape_configs:
Scott Bakeraac30df2022-04-29 13:53:17 -0700326 - job_name: aether-mock-exporter
Sean Condon02466612021-10-22 17:08:25 +0100327 scrape_interval: 2s
328 static_configs:
329 - targets:
Scott Bakeraac30df2022-04-29 13:53:17 -0700330 - aether-mock-exporter:2112
Sean Condon65dbad92022-02-04 13:36:47 +0000331
Sean Condon02466612021-10-22 17:08:25 +0100332prometheus-ace:
SeanCondon9a99c262023-01-09 17:20:49 +0000333 prometheus-pushgateway:
Sean Condon02466612021-10-22 17:08:25 +0100334 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000335 prometheus-node-exporter:
Sean Condon02466612021-10-22 17:08:25 +0100336 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000337 kube-state-metrics:
Prateek Sardaa775b672021-11-01 11:19:18 +0000338 enabled: true
Sean Condon02466612021-10-22 17:08:25 +0100339 alertmanager:
340 enabled: false
341 serverFiles:
342 prometheus.yml:
343 scrape_configs:
Scott Bakeraac30df2022-04-29 13:53:17 -0700344 - job_name: aether-mock-exporter
Sean Condon02466612021-10-22 17:08:25 +0100345 scrape_interval: 2s
346 static_configs:
347 - targets:
Scott Bakeraac30df2022-04-29 13:53:17 -0700348 - aether-mock-exporter:2112
Prateek Sardaa775b672021-11-01 11:19:18 +0000349 - job_name: kube-state-metrics
350 scrape_interval: 2s
351 static_configs:
352 - targets:
SeanCondon9a99c262023-01-09 17:20:49 +0000353 - kube-state-metrics:8080
Sean Condon02466612021-10-22 17:08:25 +0100354
Scott Baker69654392021-09-17 13:50:16 -0700355# SD-Core Test Dummy
356# proxy_pass has to be added or nginx will not log the $request_body
357sdcore-test-dummy:
358 service:
359 type: ClusterIP
SeanCondon9a99c262023-01-09 17:20:49 +0000360 existingServerBlockConfigmap: "{{ .Release.Name }}-sdcore-test-dummy"
Scott Baker69654392021-09-17 13:50:16 -0700361
362# ONOS-CONFIG
363onos-config:
SeanCondon4346ab92022-11-30 13:33:08 +0000364 atomix:
365 store:
366 consensus:
367 enabled: false
Sean Condon65dbad92022-02-04 13:36:47 +0000368 modelPlugins:
369 - name: aether-2
Sean Condonb94078c2023-03-20 08:52:40 +0000370 image: onosproject/aether-2.0.x:2.0.15-aether-2.0.x
Sean Condon65dbad92022-02-04 13:36:47 +0000371 endpoint: localhost
372 port: 5152
Sean Condon74e8d942022-03-16 19:20:08 +0000373 - name: aether-2-1
Sean Condonb94078c2023-03-20 08:52:40 +0000374 image: onosproject/aether-2.1.x:2.1.15-aether-2.1.x
Sean Condon65dbad92022-02-04 13:36:47 +0000375 endpoint: localhost
376 port: 5153
377
Scott Baker69654392021-09-17 13:50:16 -0700378 openpolicyagent:
SeanCondon9a99c262023-01-09 17:20:49 +0000379 enabled: false
380 regoConfigMap: opa-rbac
Andy Bavier955301e2022-04-22 14:34:54 -0700381
382enterprises:
383 - id: starbucks
384 name: Starbucks Enterprise
SeanCondonf49d7fb2022-05-04 18:13:26 +0100385 lat: 47.581115
386 long: -122.335692
Andy Bavier955301e2022-04-22 14:34:54 -0700387 - id: acme
388 name: ACME Enterprise
SeanCondonf49d7fb2022-05-04 18:13:26 +0100389 lat: 41.974568
390 long: -87.782062
Andy Bavier955301e2022-04-22 14:34:54 -0700391 - id: defaultent
392 name: Default Enterprise
SeanCondonf49d7fb2022-05-04 18:13:26 +0100393 lat: 37.453017
394 long: -122.180708