blob: 8c69de1e1fcc212fd270b1d66a8a3ec36405255f [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 Bakere35e6832022-01-10 15:48:08 -080050 v2:
Scott Baker69654392021-09-17 13:50:16 -070051 enabled: true
Scott Bakere35e6832022-01-10 15:48:08 -080052 v4:
53 enabled: false
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 Bakere35e6832022-01-10 15:48:08 -0800142sdcore-adapter-v2:
Scott Baker69654392021-09-17 13:50:16 -0700143 prometheusEnabled: false
Scott Bakere35e6832022-01-10 15:48:08 -0800144 partialUpdateEnabled: false
Scott Baker69654392021-09-17 13:50:16 -0700145
Scott Bakered05fb52021-10-13 09:21:47 -0700146sdcore-adapter-v4:
147 prometheusEnabled: false
Scott Baker193035b2021-11-19 10:56:45 -0800148 partialUpdateEnabled: false
Scott Bakered05fb52021-10-13 09:21:47 -0700149
Scott Baker69654392021-09-17 13:50:16 -0700150# Subscriber Proxy
151subscriber-proxy:
152 nameOverride: subscriber-proxy
153 fullnameOverride: subscriber-proxy
154 prometheusEnabled: false
155
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530156# Prom label Proxy
Sean Condon02466612021-10-22 17:08:25 +0100157prom-label-proxy-amp:
158 nameOverride: prom-label-proxy-amp
159 fullnameOverride: prom-label-proxy-amp
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530160 prometheusEnabled: false
Sean Condon02466612021-10-22 17:08:25 +0100161 config:
162 upstream: http://aether-roc-umbrella-prometheus-amp-server
163
164prom-label-proxy-acc:
165 nameOverride: prom-label-proxy-acc
166 fullnameOverride: prom-label-proxy-acc
167 prometheusEnabled: false
168 config:
169 upstream: http://aether-roc-umbrella-prometheus-acc-server
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530170
Prateek Sarda2cf72f62021-10-26 13:43:10 +0000171grafana:
172 sidecar:
173 dashboards:
174 enabled: true
175 label: grafana_dashboard
Prateek Sardaa775b672021-11-01 11:19:18 +0000176 labelValue: aether-roc-gui
177 datasources:
178 enabled: true
179 label: grafana_datasource
180 labelValue: aether-roc-gui
181 source:
182 - name: acc
183 protocol: http
184 service: aether-roc-umbrella-prometheus-acc-server
185 port: 80
186 - name: amp
187 protocol: http
188 service: aether-roc-umbrella-prometheus-amp-server
189 port: 80
190 - name: acme-chicago
191 protocol: http
192 service: aether-roc-umbrella-prometheus-ace-server
193 port: 80
194 - name: starbucks-newyork
195 protocol: http
196 service: aether-roc-umbrella-prometheus-ace-server
197 port: 80
198 - name: starbucks-seattle
199 protocol: http
200 service: aether-roc-umbrella-prometheus-ace-server
201 port: 80
Scott Baker69654392021-09-17 13:50:16 -0700202 grafana.ini:
203 log:
204 level: debug
205 server:
Prateek Sardac3a50d32021-11-10 12:40:17 +0000206 domain: aether-roc-gui:8183
207 root_url: "%(protocol)s://%(domain)s/grafana/"
Scott Baker69654392021-09-17 13:50:16 -0700208 serve_from_sub_path: true
Prateek Sardac3a50d32021-11-10 12:40:17 +0000209 security:
210 allow_embedding: true
211 auth:
212 disable_login_form: true
213 oauth_auto_login: true
Scott Baker69654392021-09-17 13:50:16 -0700214 auth.anonymous:
Prateek Sardac3a50d32021-11-10 12:40:17 +0000215 enabled: false
216 hide_version: false
217# Disabled other auth types for the moment - see aether-roc-gui/docs/grafana.md
218 auth.proxy:
219 enabled: false
220 header_name: X-WEBAUTH-USER
221 header_property: username
222 auto_sign_up: true
223 enable_login_token: true
224 auth.jwt:
225 enabled: false
226 header_name: X-JWT-Assertion
227 username_claim: name
228 email_claim: email
229 jwk_set_url: "https://keycloak.opennetworking.org/auth/realms/master/protocol/openid-connect/certs"
Sean Condon65dbad92022-02-04 13:36:47 +0000230 cache_ttl: 60m
Prateek Sardac3a50d32021-11-10 12:40:17 +0000231 auth.generic_oauth:
Scott Baker69654392021-09-17 13:50:16 -0700232 enabled: true
Prateek Sardac3a50d32021-11-10 12:40:17 +0000233 client_id: aether-roc-gui
234# client_secret: YWV0aGVyLXJvYy1ndWkK
235 scopes: "openid profile email groups"
236 empty_scopes: false
237 auth_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/auth"
238 token_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/token"
239 api_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/userinfo"
240 allowed_domains: opennetworking.org
241 allow_sign_up: true
242 name: KeyCloak
Scott Baker69654392021-09-17 13:50:16 -0700243
Sean Condon02466612021-10-22 17:08:25 +0100244prometheus-acc:
Scott Baker69654392021-09-17 13:50:16 -0700245 pushgateway:
246 enabled: false
247 nodeExporter:
248 enabled: false
249 kubeStateMetrics:
250 enabled: false
251 alertmanager:
252 configMapOverrideName: alertmanager
Sean Condond7d18342021-10-11 14:25:27 +0100253 webhook_url: "http://aether-roc-websocket/webhook"
Scott Baker69654392021-09-17 13:50:16 -0700254 serverFiles:
255 alerting_rules.yml:
256 groups:
257 - name: UeAlerts
258 rules:
259 - alert: UeThroughputLow
260 expr: ue_throughput < 9000
261 for: 1m
262 labels:
263 severity: info
264 annotations:
265 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput has been low for more than 1 minutes.'
266 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput low'
267 - alert: UeLatencyHigh
268 expr: ue_latency > 8
269 for: 1m
270 labels:
271 severity: info
272 annotations:
273 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency has been high for more than 1 minutes.'
274 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency high'
275 - name: VcsAlerts
276 rules:
277 - alert: VcsThroughputLow
278 expr: vcs_throughput < 9000
279 for: 1m
280 labels:
281 severity: info
282 annotations:
283 description: 'VCS {{ $labels.vcs_id }} throughput has been low for more than 1 minutes.'
284 summary: 'VCS {{ $labels.vcs_id }} throughput low'
285 - alert: VcsLatencyHigh
286 expr: vcs_latency > 30
287 for: 1m
288 labels:
289 severity: warn
290 annotations:
291 description: 'VCS {{ $labels.vcs_id }} latency has been high for more than 1 minutes.'
292 summary: 'VCS {{ $labels.vcs_id }} latency high'
293 - alert: VcsJitterHigh
294 expr: vcs_jitter > 8
295 for: 1m
296 labels:
297 severity: page
298 annotations:
299 description: 'VCS {{ $labels.vcs_id }} jitter has been high for more than 1 minutes.'
300 summary: 'VCS {{ $labels.vcs_id }} jitter high'
301 prometheus.yml:
302 scrape_configs:
Sean Condon25c7bf52021-11-06 11:53:59 +0000303 - job_name: demo-exporter
Scott Baker69654392021-09-17 13:50:16 -0700304 scrape_interval: 2s
305 static_configs:
306 - targets:
Sean Condon25c7bf52021-11-06 11:53:59 +0000307 - demo-exporter:2112
Sean Condon02466612021-10-22 17:08:25 +0100308
309prometheus-amp:
310 pushgateway:
311 enabled: false
312 nodeExporter:
313 enabled: false
314 kubeStateMetrics:
315 enabled: false
316 alertmanager:
317 enabled: false
318 serverFiles:
319 prometheus.yml:
320 scrape_configs:
Sean Condon25c7bf52021-11-06 11:53:59 +0000321 - job_name: demo-exporter
Sean Condon02466612021-10-22 17:08:25 +0100322 scrape_interval: 2s
323 static_configs:
324 - targets:
Sean Condon25c7bf52021-11-06 11:53:59 +0000325 - demo-exporter:2112
Sean Condon65dbad92022-02-04 13:36:47 +0000326
Sean Condon02466612021-10-22 17:08:25 +0100327prometheus-ace:
328 pushgateway:
329 enabled: false
330 nodeExporter:
331 enabled: false
332 kubeStateMetrics:
Prateek Sardaa775b672021-11-01 11:19:18 +0000333 enabled: true
Sean Condon02466612021-10-22 17:08:25 +0100334 alertmanager:
335 enabled: false
336 serverFiles:
337 prometheus.yml:
338 scrape_configs:
Sean Condon25c7bf52021-11-06 11:53:59 +0000339 - job_name: demo-exporter
Sean Condon02466612021-10-22 17:08:25 +0100340 scrape_interval: 2s
341 static_configs:
342 - targets:
Sean Condon25c7bf52021-11-06 11:53:59 +0000343 - demo-exporter:2112
Prateek Sardaa775b672021-11-01 11:19:18 +0000344 - job_name: kube-state-metrics
345 scrape_interval: 2s
346 static_configs:
347 - targets:
348 - aether-roc-umbrella-kube-state-metrics:8080
Sean Condon02466612021-10-22 17:08:25 +0100349
Scott Baker69654392021-09-17 13:50:16 -0700350# SD-Core Test Dummy
351# proxy_pass has to be added or nginx will not log the $request_body
352sdcore-test-dummy:
353 service:
354 type: ClusterIP
355 existingServerBlockConfigmap: aether-roc-umbrella-sdcore-test-dummy
356
357# ONOS-CONFIG
358onos-config:
359 store:
360 consensus:
361 enabled: false
Sean Condon65dbad92022-02-04 13:36:47 +0000362 modelPlugins:
363 - name: aether-2
Sean Condon44c78b92022-02-18 13:12:12 +0000364 image: onosproject/aether-2.0.x:2.0.1-dev-aether-2.0.x
Sean Condon65dbad92022-02-04 13:36:47 +0000365 endpoint: localhost
366 port: 5152
367 - name: aether-4
368 image: onosproject/aether-4.x:4.0.19-dev-aether-4.0.18
369 endpoint: localhost
370 port: 5153
371
Scott Baker69654392021-09-17 13:50:16 -0700372 openpolicyagent:
373 enabled: true
374 regoConfigMap: aether-roc-umbrella-opa-rbac