blob: e55f2d05e468600827c40b3bcc2e23a13f0e691e [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: ""
Sean Condon59a0a982023-05-18 18:13:15 +010021
22# Atomix store configurations
23atomix:
24 store:
25 consensus:
26 enabled: true
27 name: ""
28 image:
29 registry: ""
30 repository: atomix/raft-node
31 tag: ""
32 pullPolicy: ""
33 pullSecrets: []
34 replicas: 3
35 server: {}
36 logging:
37 # The encoding is the format of the logging output:
38 # console: standard formatted text logging
39 # json: JSON encoded structured logging
40 encoding: console
41 # The default log level for all loggers. Only messages logged at this level or higher severity will be
42 # output to the logger sinks. Log levels in order of severity (least to greatest):
43 # - debug
44 # - info
45 # - warn
46 # - error
47 # - fatal
48 level: info
49 loggers:
50 github.com/atomix/atomix/runtime/pkg/utils/grpc/interceptors: error
51 persistence:
52 # enabled: false
53 # storageClass: ""
54 accessModes:
55 - ReadWriteOnce
56 size: 8Gi
57 securityContext:
58 runAsUser: 0
Scott Baker69654392021-09-17 13:50:16 -070059
60import:
61 onos-topo:
62 enabled: true
63 onos-config:
64 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070065 onos-cli:
66 enabled: true
67 aether-roc-api:
68 enabled: true
69 aether-roc-gui:
SeanCondon2c1412a2022-04-26 11:50:05 +010070 v2-0:
Sean Condonfd3c9a42022-02-16 21:07:06 +000071 enabled: false
SeanCondon2c1412a2022-04-26 11:50:05 +010072 v2-1:
73 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070074 sdcore-adapter:
Scott Baker4bc86242022-04-19 15:45:51 -070075 v2-0:
Scott Bakere35e6832022-01-10 15:48:08 -080076 enabled: false
Scott Bakeraefb9272022-04-18 09:47:47 -070077 v2-1:
78 enabled: true
Scott Baker2f8fe3a2022-05-09 10:48:16 -070079 sdcore-prom-kafka:
80 enabled: false
Scott Baker69654392021-09-17 13:50:16 -070081 subscriber-proxy:
82 enabled: true
83 sdcore-test-dummy:
84 enabled: true
85 grafana:
86 enabled: true #also enable the proxy below
87 prometheus:
Sean Condon02466612021-10-22 17:08:25 +010088 acc:
89 enabled: true # controls its plproxy too
90 amp:
91 enabled: true # controls its plproxy too
92 ace:
93 enabled: true
Sean Condon98fde362021-11-04 15:58:35 +000094 prom-label-proxy:
95 acc:
96 enabled: true
97 amp:
98 enabled: true
Scott Bakeraac30df2022-04-29 13:53:17 -070099 aether-mock-exporter:
Sean Condon25c7bf52021-11-06 11:53:59 +0000100 enabled: true
Scott Baker69654392021-09-17 13:50:16 -0700101
102# ONOS-TOPO
103onos-topo:
SeanCondon4346ab92022-11-30 13:33:08 +0000104 atomix:
105 store:
106 consensus:
107 enabled: false
Scott Baker69654392021-09-17 13:50:16 -0700108
109# ONOS-GUI
110onos-gui: {}
111
112# ONOS-CLI
113onos-cli: {}
114
115# Aether ROC API
116aether-roc-api: {}
117
118# Aether ROC GUI
Sean Condon44c78b92022-02-18 13:12:12 +0000119aether-roc-gui-v2:
Scott Baker69654392021-09-17 13:50:16 -0700120 grafana:
121 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000122 service: "{{ .Release.Name }}-grafana" # the grafana hostname - use FQDN for other namespaces
Scott Baker69654392021-09-17 13:50:16 -0700123 prometheus:
Sean Condon44c78b92022-02-18 13:12:12 +0000124 acc:
125 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000126 service: "{{ .Release.Name }}-prom-label-proxy-acc"
Sean Condon44c78b92022-02-18 13:12:12 +0000127 protocol: http
128 port: 8080
129 amp:
130 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000131 service: "{{ .Release.Name }}-prom-label-proxy-amp"
Sean Condon44c78b92022-02-18 13:12:12 +0000132 protocol: http
133 port: 8080
134 site:
135 - name: ace1
SeanCondon9a99c262023-01-09 17:20:49 +0000136 service: "{{ .Release.Name }}-prometheus-ace-server"
Sean Condon44c78b92022-02-18 13:12:12 +0000137 protocol: http
138 port: 80
Scott Baker69654392021-09-17 13:50:16 -0700139
SeanCondon34f31872022-07-22 16:37:09 +0100140aether-roc-gui-v2-1:
SeanCondon34f31872022-07-22 16:37:09 +0100141 feature:
142 aether: true
143 sdnfabric: false
Sean Condonb44c6ce2021-10-01 15:29:32 +0100144 grafana:
145 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000146 service: "{{ .Release.Name }}-grafana" # the grafana hostname - use FQDN for other namespaces
Sean Condonb44c6ce2021-10-01 15:29:32 +0100147 prometheus:
Sean Condon02466612021-10-22 17:08:25 +0100148 acc:
149 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000150 service: "{{ .Release.Name }}-prom-label-proxy-acc"
Sean Condon02466612021-10-22 17:08:25 +0100151 protocol: http
152 port: 8080
153 amp:
154 proxyEnabled: true
SeanCondon9a99c262023-01-09 17:20:49 +0000155 service: "{{ .Release.Name }}-prom-label-proxy-amp"
Sean Condon02466612021-10-22 17:08:25 +0100156 protocol: http
157 port: 8080
158 site:
159 - name: ace1
SeanCondon9a99c262023-01-09 17:20:49 +0000160 service: "{{ .Release.Name }}-prometheus-ace-server"
Sean Condon02466612021-10-22 17:08:25 +0100161 protocol: http
162 port: 80
Sean Condonb44c6ce2021-10-01 15:29:32 +0100163
Scott Baker69654392021-09-17 13:50:16 -0700164# SD-Core Adapter
Scott Baker4bc86242022-04-19 15:45:51 -0700165sdcore-adapter-v2-0:
Scott Baker69654392021-09-17 13:50:16 -0700166 prometheusEnabled: false
Scott Bakerb59cc802022-03-04 15:17:33 -0800167 partialUpdateEnabled: true
Scott Baker69654392021-09-17 13:50:16 -0700168
Scott Bakeraefb9272022-04-18 09:47:47 -0700169sdcore-adapter-v2-1:
Scott Bakered05fb52021-10-13 09:21:47 -0700170 prometheusEnabled: false
Scott Bakeraefb9272022-04-18 09:47:47 -0700171 partialUpdateEnabled: true
Scott Bakered05fb52021-10-13 09:21:47 -0700172
Scott Baker69654392021-09-17 13:50:16 -0700173# Subscriber Proxy
174subscriber-proxy:
Scott Baker69654392021-09-17 13:50:16 -0700175 prometheusEnabled: false
176
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530177# Prom label Proxy
Sean Condon02466612021-10-22 17:08:25 +0100178prom-label-proxy-amp:
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530179 prometheusEnabled: false
Sean Condon02466612021-10-22 17:08:25 +0100180 config:
SeanCondon9a99c262023-01-09 17:20:49 +0000181 upstream: "http://{{ .Release.Name }}-prometheus-amp-server"
Sean Condon02466612021-10-22 17:08:25 +0100182
183prom-label-proxy-acc:
Sean Condon02466612021-10-22 17:08:25 +0100184 prometheusEnabled: false
185 config:
SeanCondon9a99c262023-01-09 17:20:49 +0000186 upstream: "http://{{ .Release.Name }}-prometheus-acc-server"
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530187
Prateek Sarda2cf72f62021-10-26 13:43:10 +0000188grafana:
189 sidecar:
190 dashboards:
191 enabled: true
192 label: grafana_dashboard
Prateek Sardaa775b672021-11-01 11:19:18 +0000193 labelValue: aether-roc-gui
194 datasources:
195 enabled: true
196 label: grafana_datasource
197 labelValue: aether-roc-gui
198 source:
199 - name: acc
200 protocol: http
SeanCondon9a99c262023-01-09 17:20:49 +0000201 service: "{{ .Release.Name }}-prometheus-acc-server"
Prateek Sardaa775b672021-11-01 11:19:18 +0000202 port: 80
203 - name: amp
204 protocol: http
SeanCondon9a99c262023-01-09 17:20:49 +0000205 service: "{{ .Release.Name }}-prometheus-amp-server"
Prateek Sardaa775b672021-11-01 11:19:18 +0000206 port: 80
207 - name: acme-chicago
208 protocol: http
SeanCondon9a99c262023-01-09 17:20:49 +0000209 service: "{{ .Release.Name }}-prometheus-ace-server"
Prateek Sardaa775b672021-11-01 11:19:18 +0000210 port: 80
211 - name: starbucks-newyork
212 protocol: http
SeanCondon9a99c262023-01-09 17:20:49 +0000213 service: "{{ .Release.Name }}-prometheus-ace-server"
Prateek Sardaa775b672021-11-01 11:19:18 +0000214 port: 80
215 - name: starbucks-seattle
216 protocol: http
SeanCondon9a99c262023-01-09 17:20:49 +0000217 service: "{{ .Release.Name }}-prometheus-ace-server"
Prateek Sardaa775b672021-11-01 11:19:18 +0000218 port: 80
Scott Baker69654392021-09-17 13:50:16 -0700219 grafana.ini:
220 log:
221 level: debug
222 server:
Prateek Sardac3a50d32021-11-10 12:40:17 +0000223 domain: aether-roc-gui:8183
224 root_url: "%(protocol)s://%(domain)s/grafana/"
Scott Baker69654392021-09-17 13:50:16 -0700225 serve_from_sub_path: true
Prateek Sardac3a50d32021-11-10 12:40:17 +0000226 security:
227 allow_embedding: true
228 auth:
229 disable_login_form: true
230 oauth_auto_login: true
Scott Baker69654392021-09-17 13:50:16 -0700231 auth.anonymous:
Prateek Sardac3a50d32021-11-10 12:40:17 +0000232 enabled: false
233 hide_version: false
234# Disabled other auth types for the moment - see aether-roc-gui/docs/grafana.md
235 auth.proxy:
236 enabled: false
237 header_name: X-WEBAUTH-USER
238 header_property: username
239 auto_sign_up: true
240 enable_login_token: true
241 auth.jwt:
242 enabled: false
243 header_name: X-JWT-Assertion
244 username_claim: name
245 email_claim: email
246 jwk_set_url: "https://keycloak.opennetworking.org/auth/realms/master/protocol/openid-connect/certs"
Sean Condon65dbad92022-02-04 13:36:47 +0000247 cache_ttl: 60m
Prateek Sardac3a50d32021-11-10 12:40:17 +0000248 auth.generic_oauth:
Scott Baker69654392021-09-17 13:50:16 -0700249 enabled: true
Prateek Sardac3a50d32021-11-10 12:40:17 +0000250 client_id: aether-roc-gui
251# client_secret: YWV0aGVyLXJvYy1ndWkK
252 scopes: "openid profile email groups"
253 empty_scopes: false
254 auth_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/auth"
255 token_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/token"
256 api_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/userinfo"
257 allowed_domains: opennetworking.org
258 allow_sign_up: true
259 name: KeyCloak
Scott Baker69654392021-09-17 13:50:16 -0700260
Sean Condon02466612021-10-22 17:08:25 +0100261prometheus-acc:
SeanCondon9a99c262023-01-09 17:20:49 +0000262 prometheus-pushgateway:
Scott Baker69654392021-09-17 13:50:16 -0700263 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000264 prometheus-node-exporter:
Scott Baker69654392021-09-17 13:50:16 -0700265 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000266 kube-state-metrics:
Scott Baker69654392021-09-17 13:50:16 -0700267 enabled: false
268 alertmanager:
SeanCondon466a0842022-08-26 16:10:15 +0100269 enabled: false
Scott Baker69654392021-09-17 13:50:16 -0700270 serverFiles:
271 alerting_rules.yml:
272 groups:
273 - name: UeAlerts
274 rules:
275 - alert: UeThroughputLow
276 expr: ue_throughput < 9000
277 for: 1m
278 labels:
279 severity: info
280 annotations:
281 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput has been low for more than 1 minutes.'
282 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput low'
283 - alert: UeLatencyHigh
284 expr: ue_latency > 8
285 for: 1m
286 labels:
287 severity: info
288 annotations:
289 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency has been high for more than 1 minutes.'
290 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency high'
291 - name: VcsAlerts
292 rules:
293 - alert: VcsThroughputLow
294 expr: vcs_throughput < 9000
295 for: 1m
296 labels:
297 severity: info
298 annotations:
299 description: 'VCS {{ $labels.vcs_id }} throughput has been low for more than 1 minutes.'
300 summary: 'VCS {{ $labels.vcs_id }} throughput low'
301 - alert: VcsLatencyHigh
302 expr: vcs_latency > 30
303 for: 1m
304 labels:
305 severity: warn
306 annotations:
307 description: 'VCS {{ $labels.vcs_id }} latency has been high for more than 1 minutes.'
308 summary: 'VCS {{ $labels.vcs_id }} latency high'
309 - alert: VcsJitterHigh
310 expr: vcs_jitter > 8
311 for: 1m
312 labels:
313 severity: page
314 annotations:
315 description: 'VCS {{ $labels.vcs_id }} jitter has been high for more than 1 minutes.'
316 summary: 'VCS {{ $labels.vcs_id }} jitter high'
317 prometheus.yml:
318 scrape_configs:
Scott Bakeraac30df2022-04-29 13:53:17 -0700319 - job_name: aether-mock-exporter
Scott Baker69654392021-09-17 13:50:16 -0700320 scrape_interval: 2s
321 static_configs:
322 - targets:
Scott Bakeraac30df2022-04-29 13:53:17 -0700323 - aether-mock-exporter:2112
Sean Condon02466612021-10-22 17:08:25 +0100324
325prometheus-amp:
SeanCondon9a99c262023-01-09 17:20:49 +0000326 prometheus-pushgateway:
Sean Condon02466612021-10-22 17:08:25 +0100327 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000328 prometheus-node-exporter:
Sean Condon02466612021-10-22 17:08:25 +0100329 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000330 kube-state-metrics:
Sean Condon02466612021-10-22 17:08:25 +0100331 enabled: false
332 alertmanager:
333 enabled: false
334 serverFiles:
335 prometheus.yml:
336 scrape_configs:
Scott Bakeraac30df2022-04-29 13:53:17 -0700337 - job_name: aether-mock-exporter
Sean Condon02466612021-10-22 17:08:25 +0100338 scrape_interval: 2s
339 static_configs:
340 - targets:
Scott Bakeraac30df2022-04-29 13:53:17 -0700341 - aether-mock-exporter:2112
Sean Condon65dbad92022-02-04 13:36:47 +0000342
Sean Condon02466612021-10-22 17:08:25 +0100343prometheus-ace:
SeanCondon9a99c262023-01-09 17:20:49 +0000344 prometheus-pushgateway:
Sean Condon02466612021-10-22 17:08:25 +0100345 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000346 prometheus-node-exporter:
Sean Condon02466612021-10-22 17:08:25 +0100347 enabled: false
SeanCondon9a99c262023-01-09 17:20:49 +0000348 kube-state-metrics:
Prateek Sardaa775b672021-11-01 11:19:18 +0000349 enabled: true
Sean Condon02466612021-10-22 17:08:25 +0100350 alertmanager:
351 enabled: false
352 serverFiles:
353 prometheus.yml:
354 scrape_configs:
Scott Bakeraac30df2022-04-29 13:53:17 -0700355 - job_name: aether-mock-exporter
Sean Condon02466612021-10-22 17:08:25 +0100356 scrape_interval: 2s
357 static_configs:
358 - targets:
Scott Bakeraac30df2022-04-29 13:53:17 -0700359 - aether-mock-exporter:2112
Prateek Sardaa775b672021-11-01 11:19:18 +0000360 - job_name: kube-state-metrics
361 scrape_interval: 2s
362 static_configs:
363 - targets:
SeanCondon9a99c262023-01-09 17:20:49 +0000364 - kube-state-metrics:8080
Sean Condon02466612021-10-22 17:08:25 +0100365
Scott Baker69654392021-09-17 13:50:16 -0700366# SD-Core Test Dummy
367# proxy_pass has to be added or nginx will not log the $request_body
368sdcore-test-dummy:
369 service:
370 type: ClusterIP
SeanCondon9a99c262023-01-09 17:20:49 +0000371 existingServerBlockConfigmap: "{{ .Release.Name }}-sdcore-test-dummy"
Scott Baker69654392021-09-17 13:50:16 -0700372
373# ONOS-CONFIG
374onos-config:
SeanCondon4346ab92022-11-30 13:33:08 +0000375 atomix:
376 store:
377 consensus:
378 enabled: false
Sean Condon65dbad92022-02-04 13:36:47 +0000379 modelPlugins:
380 - name: aether-2
Sean Condon59a0a982023-05-18 18:13:15 +0100381 image: onosproject/aether-2.0.x:2.0.16-aether-2.0.x
Sean Condon65dbad92022-02-04 13:36:47 +0000382 endpoint: localhost
383 port: 5152
Sean Condon74e8d942022-03-16 19:20:08 +0000384 - name: aether-2-1
Sean Condon59a0a982023-05-18 18:13:15 +0100385 image: onosproject/aether-2.1.x:2.1.16-aether-2.1.x
Sean Condon65dbad92022-02-04 13:36:47 +0000386 endpoint: localhost
387 port: 5153
388
Scott Baker69654392021-09-17 13:50:16 -0700389 openpolicyagent:
SeanCondon9a99c262023-01-09 17:20:49 +0000390 enabled: false
391 regoConfigMap: opa-rbac
Andy Bavier955301e2022-04-22 14:34:54 -0700392
393enterprises:
394 - id: starbucks
395 name: Starbucks Enterprise
SeanCondonf49d7fb2022-05-04 18:13:26 +0100396 lat: 47.581115
397 long: -122.335692
Andy Bavier955301e2022-04-22 14:34:54 -0700398 - id: acme
399 name: ACME Enterprise
SeanCondonf49d7fb2022-05-04 18:13:26 +0100400 lat: 41.974568
401 long: -87.782062
Andy Bavier955301e2022-04-22 14:34:54 -0700402 - id: defaultent
403 name: Default Enterprise
SeanCondonf49d7fb2022-05-04 18:13:26 +0100404 lat: 37.453017
405 long: -122.180708