blob: 61a892e5c3ebd31dcc2546b35cd22bb347b5b18e [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
38 onos-gui:
39 enabled: false
40 onos-cli:
41 enabled: true
42 aether-roc-api:
43 enabled: true
Sean Condond7d18342021-10-11 14:25:27 +010044 aether-roc-websocket:
45 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070046 aether-roc-gui:
Sean Condon6fc99682022-02-04 10:48:17 +000047 v2:
Sean Condonb44c6ce2021-10-01 15:29:32 +010048 enabled: false
Sean Condon9b72e362021-10-07 12:59:21 +010049 v4:
50 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070051 sdcore-adapter:
Scott Bakere35e6832022-01-10 15:48:08 -080052 v2:
Scott Baker69654392021-09-17 13:50:16 -070053 enabled: true
Scott Bakere35e6832022-01-10 15:48:08 -080054 v4:
55 enabled: false
Scott Baker69654392021-09-17 13:50:16 -070056 subscriber-proxy:
57 enabled: true
58 sdcore-test-dummy:
59 enabled: true
60 grafana:
61 enabled: true #also enable the proxy below
62 prometheus:
Sean Condon02466612021-10-22 17:08:25 +010063 acc:
64 enabled: true # controls its plproxy too
65 amp:
66 enabled: true # controls its plproxy too
67 ace:
68 enabled: true
Sean Condon98fde362021-11-04 15:58:35 +000069 prom-label-proxy:
70 acc:
71 enabled: true
72 amp:
73 enabled: true
Sean Condon25c7bf52021-11-06 11:53:59 +000074 demo-exporter:
75 enabled: true
Scott Baker69654392021-09-17 13:50:16 -070076
77# ONOS-TOPO
78onos-topo:
79 store:
80 consensus:
81 enabled: false
82
83# ONOS-GUI
84onos-gui: {}
85
86# ONOS-CLI
87onos-cli: {}
88
89# Aether ROC API
90aether-roc-api: {}
91
92# Aether ROC GUI
Zack Williamsc1fad782021-09-28 17:40:03 -070093aether-roc-gui:
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:
100 proxyEnabled: true
Sean Condon720612a2021-10-26 08:42:16 +0100101 service: aether-roc-umbrella-prometheus-acc-server
Scott Baker69654392021-09-17 13:50:16 -0700102
Sean Condonb44c6ce2021-10-01 15:29:32 +0100103aether-roc-gui-v4:
Sean Condon02466612021-10-22 17:08:25 +0100104 nameOverride: aether-roc-gui-v4
105 fullnameOverride: aether-roc-gui-v4
Sean Condonb44c6ce2021-10-01 15:29:32 +0100106 websocket:
107 proxyEnabled: true
108 grafana:
109 proxyEnabled: true
110 service: aether-roc-umbrella-grafana # the grafana hostname - use FQDN for other namespaces
111 prometheus:
Sean Condon02466612021-10-22 17:08:25 +0100112 acc:
113 proxyEnabled: true
114 service: prom-label-proxy-acc
115 protocol: http
116 port: 8080
117 amp:
118 proxyEnabled: true
119 service: prom-label-proxy-amp
120 protocol: http
121 port: 8080
122 site:
123 - name: ace1
124 service: aether-roc-umbrella-prometheus-ace-server
125 protocol: http
126 port: 80
Sean Condonb44c6ce2021-10-01 15:29:32 +0100127
Scott Baker69654392021-09-17 13:50:16 -0700128# SD-Core Adapter
Scott Bakere35e6832022-01-10 15:48:08 -0800129sdcore-adapter-v2:
Scott Baker69654392021-09-17 13:50:16 -0700130 prometheusEnabled: false
Scott Bakere35e6832022-01-10 15:48:08 -0800131 partialUpdateEnabled: false
Scott Baker69654392021-09-17 13:50:16 -0700132
Scott Bakered05fb52021-10-13 09:21:47 -0700133sdcore-adapter-v4:
134 prometheusEnabled: false
Scott Baker193035b2021-11-19 10:56:45 -0800135 partialUpdateEnabled: false
Scott Bakered05fb52021-10-13 09:21:47 -0700136
Scott Baker69654392021-09-17 13:50:16 -0700137# Subscriber Proxy
138subscriber-proxy:
139 nameOverride: subscriber-proxy
140 fullnameOverride: subscriber-proxy
141 prometheusEnabled: false
142
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530143# Prom label Proxy
Sean Condon02466612021-10-22 17:08:25 +0100144prom-label-proxy-amp:
145 nameOverride: prom-label-proxy-amp
146 fullnameOverride: prom-label-proxy-amp
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530147 prometheusEnabled: false
Sean Condon02466612021-10-22 17:08:25 +0100148 config:
149 upstream: http://aether-roc-umbrella-prometheus-amp-server
150
151prom-label-proxy-acc:
152 nameOverride: prom-label-proxy-acc
153 fullnameOverride: prom-label-proxy-acc
154 prometheusEnabled: false
155 config:
156 upstream: http://aether-roc-umbrella-prometheus-acc-server
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530157
Prateek Sarda2cf72f62021-10-26 13:43:10 +0000158grafana:
159 sidecar:
160 dashboards:
161 enabled: true
162 label: grafana_dashboard
Prateek Sardaa775b672021-11-01 11:19:18 +0000163 labelValue: aether-roc-gui
164 datasources:
165 enabled: true
166 label: grafana_datasource
167 labelValue: aether-roc-gui
168 source:
169 - name: acc
170 protocol: http
171 service: aether-roc-umbrella-prometheus-acc-server
172 port: 80
173 - name: amp
174 protocol: http
175 service: aether-roc-umbrella-prometheus-amp-server
176 port: 80
177 - name: acme-chicago
178 protocol: http
179 service: aether-roc-umbrella-prometheus-ace-server
180 port: 80
181 - name: starbucks-newyork
182 protocol: http
183 service: aether-roc-umbrella-prometheus-ace-server
184 port: 80
185 - name: starbucks-seattle
186 protocol: http
187 service: aether-roc-umbrella-prometheus-ace-server
188 port: 80
Scott Baker69654392021-09-17 13:50:16 -0700189 grafana.ini:
190 log:
191 level: debug
192 server:
Prateek Sardac3a50d32021-11-10 12:40:17 +0000193 domain: aether-roc-gui:8183
194 root_url: "%(protocol)s://%(domain)s/grafana/"
Scott Baker69654392021-09-17 13:50:16 -0700195 serve_from_sub_path: true
Prateek Sardac3a50d32021-11-10 12:40:17 +0000196 security:
197 allow_embedding: true
198 auth:
199 disable_login_form: true
200 oauth_auto_login: true
Scott Baker69654392021-09-17 13:50:16 -0700201 auth.anonymous:
Prateek Sardac3a50d32021-11-10 12:40:17 +0000202 enabled: false
203 hide_version: false
204# Disabled other auth types for the moment - see aether-roc-gui/docs/grafana.md
205 auth.proxy:
206 enabled: false
207 header_name: X-WEBAUTH-USER
208 header_property: username
209 auto_sign_up: true
210 enable_login_token: true
211 auth.jwt:
212 enabled: false
213 header_name: X-JWT-Assertion
214 username_claim: name
215 email_claim: email
216 jwk_set_url: "https://keycloak.opennetworking.org/auth/realms/master/protocol/openid-connect/certs"
217 cache_ttl: 60m
218 auth.generic_oauth:
Scott Baker69654392021-09-17 13:50:16 -0700219 enabled: true
Prateek Sardac3a50d32021-11-10 12:40:17 +0000220 client_id: aether-roc-gui
221# client_secret: YWV0aGVyLXJvYy1ndWkK
222 scopes: "openid profile email groups"
223 empty_scopes: false
224 auth_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/auth"
225 token_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/token"
226 api_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/userinfo"
227 allowed_domains: opennetworking.org
228 allow_sign_up: true
229 name: KeyCloak
Scott Baker69654392021-09-17 13:50:16 -0700230
Sean Condon02466612021-10-22 17:08:25 +0100231prometheus-acc:
Scott Baker69654392021-09-17 13:50:16 -0700232 pushgateway:
233 enabled: false
234 nodeExporter:
235 enabled: false
236 kubeStateMetrics:
237 enabled: false
238 alertmanager:
239 configMapOverrideName: alertmanager
Sean Condond7d18342021-10-11 14:25:27 +0100240 webhook_url: "http://aether-roc-websocket/webhook"
Scott Baker69654392021-09-17 13:50:16 -0700241 serverFiles:
242 alerting_rules.yml:
243 groups:
244 - name: UeAlerts
245 rules:
246 - alert: UeThroughputLow
247 expr: ue_throughput < 9000
248 for: 1m
249 labels:
250 severity: info
251 annotations:
252 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput has been low for more than 1 minutes.'
253 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput low'
254 - alert: UeLatencyHigh
255 expr: ue_latency > 8
256 for: 1m
257 labels:
258 severity: info
259 annotations:
260 description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency has been high for more than 1 minutes.'
261 summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency high'
262 - name: VcsAlerts
263 rules:
264 - alert: VcsThroughputLow
265 expr: vcs_throughput < 9000
266 for: 1m
267 labels:
268 severity: info
269 annotations:
270 description: 'VCS {{ $labels.vcs_id }} throughput has been low for more than 1 minutes.'
271 summary: 'VCS {{ $labels.vcs_id }} throughput low'
272 - alert: VcsLatencyHigh
273 expr: vcs_latency > 30
274 for: 1m
275 labels:
276 severity: warn
277 annotations:
278 description: 'VCS {{ $labels.vcs_id }} latency has been high for more than 1 minutes.'
279 summary: 'VCS {{ $labels.vcs_id }} latency high'
280 - alert: VcsJitterHigh
281 expr: vcs_jitter > 8
282 for: 1m
283 labels:
284 severity: page
285 annotations:
286 description: 'VCS {{ $labels.vcs_id }} jitter has been high for more than 1 minutes.'
287 summary: 'VCS {{ $labels.vcs_id }} jitter high'
288 prometheus.yml:
289 scrape_configs:
Sean Condon25c7bf52021-11-06 11:53:59 +0000290 - job_name: demo-exporter
Scott Baker69654392021-09-17 13:50:16 -0700291 scrape_interval: 2s
292 static_configs:
293 - targets:
Sean Condon25c7bf52021-11-06 11:53:59 +0000294 - demo-exporter:2112
Sean Condon02466612021-10-22 17:08:25 +0100295
296prometheus-amp:
297 pushgateway:
298 enabled: false
299 nodeExporter:
300 enabled: false
301 kubeStateMetrics:
302 enabled: false
303 alertmanager:
304 enabled: false
305 serverFiles:
306 prometheus.yml:
307 scrape_configs:
Sean Condon25c7bf52021-11-06 11:53:59 +0000308 - job_name: demo-exporter
Sean Condon02466612021-10-22 17:08:25 +0100309 scrape_interval: 2s
310 static_configs:
311 - targets:
Sean Condon25c7bf52021-11-06 11:53:59 +0000312 - demo-exporter:2112
Prateek Sardaa775b672021-11-01 11:19:18 +0000313
Sean Condon02466612021-10-22 17:08:25 +0100314prometheus-ace:
315 pushgateway:
316 enabled: false
317 nodeExporter:
318 enabled: false
319 kubeStateMetrics:
Prateek Sardaa775b672021-11-01 11:19:18 +0000320 enabled: true
Sean Condon02466612021-10-22 17:08:25 +0100321 alertmanager:
322 enabled: false
323 serverFiles:
324 prometheus.yml:
325 scrape_configs:
Sean Condon25c7bf52021-11-06 11:53:59 +0000326 - job_name: demo-exporter
Sean Condon02466612021-10-22 17:08:25 +0100327 scrape_interval: 2s
328 static_configs:
329 - targets:
Sean Condon25c7bf52021-11-06 11:53:59 +0000330 - demo-exporter:2112
Prateek Sardaa775b672021-11-01 11:19:18 +0000331 - job_name: kube-state-metrics
332 scrape_interval: 2s
333 static_configs:
334 - targets:
335 - aether-roc-umbrella-kube-state-metrics:8080
Sean Condon02466612021-10-22 17:08:25 +0100336
Scott Baker69654392021-09-17 13:50:16 -0700337# SD-Core Test Dummy
338# proxy_pass has to be added or nginx will not log the $request_body
339sdcore-test-dummy:
340 service:
341 type: ClusterIP
342 existingServerBlockConfigmap: aether-roc-umbrella-sdcore-test-dummy
343
344# ONOS-CONFIG
345onos-config:
346 store:
347 consensus:
348 enabled: false
349 models:
350 aether:
Scott Bakere35e6832022-01-10 15:48:08 -0800351 v2:
Scott Baker69654392021-09-17 13:50:16 -0700352 enabled: true
Scott Baker3bd54632021-09-27 13:27:52 -0700353 v4:
354 enabled: true
Amit Wankhede3d0bc582021-10-18 22:28:50 +0530355 plproxy:
356 v1:
357 enabled: true
Scott Baker69654392021-09-17 13:50:16 -0700358 plugin:
359 compiler:
360 target: ""
361 openpolicyagent:
362 enabled: true
363 regoConfigMap: aether-roc-umbrella-opa-rbac