Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org> |
| 2 | # |
Sean Condon | 160ec1d | 2022-02-08 12:58:25 +0000 | [diff] [blame] | 3 | # SPDX-License-Identifier: Apache-2.0 |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 4 | |
| 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 | |
| 9 | global: |
| 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 | |
| 33 | import: |
| 34 | onos-topo: |
| 35 | enabled: true |
| 36 | onos-config: |
| 37 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 38 | onos-cli: |
| 39 | enabled: true |
| 40 | aether-roc-api: |
| 41 | enabled: true |
Sean Condon | d7d1834 | 2021-10-11 14:25:27 +0100 | [diff] [blame] | 42 | aether-roc-websocket: |
| 43 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 44 | aether-roc-gui: |
Sean Condon | 6fc9968 | 2022-02-04 10:48:17 +0000 | [diff] [blame] | 45 | v2: |
Sean Condon | 9b72e36 | 2021-10-07 12:59:21 +0100 | [diff] [blame] | 46 | enabled: true |
Sean Condon | fd3c9a4 | 2022-02-16 21:07:06 +0000 | [diff] [blame] | 47 | v4: |
| 48 | enabled: false |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 49 | sdcore-adapter: |
Scott Baker | 4bc8624 | 2022-04-19 15:45:51 -0700 | [diff] [blame] | 50 | v2-0: |
Scott Baker | e35e683 | 2022-01-10 15:48:08 -0800 | [diff] [blame] | 51 | enabled: false |
Scott Baker | aefb927 | 2022-04-18 09:47:47 -0700 | [diff] [blame] | 52 | v2-1: |
| 53 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 54 | 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 Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 61 | acc: |
| 62 | enabled: true # controls its plproxy too |
| 63 | amp: |
| 64 | enabled: true # controls its plproxy too |
| 65 | ace: |
| 66 | enabled: true |
Sean Condon | 98fde36 | 2021-11-04 15:58:35 +0000 | [diff] [blame] | 67 | prom-label-proxy: |
| 68 | acc: |
| 69 | enabled: true |
| 70 | amp: |
| 71 | enabled: true |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 72 | demo-exporter: |
| 73 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 74 | |
| 75 | # ONOS-TOPO |
| 76 | onos-topo: |
| 77 | store: |
| 78 | consensus: |
| 79 | enabled: false |
| 80 | |
| 81 | # ONOS-GUI |
| 82 | onos-gui: {} |
| 83 | |
| 84 | # ONOS-CLI |
| 85 | onos-cli: {} |
| 86 | |
| 87 | # Aether ROC API |
| 88 | aether-roc-api: {} |
| 89 | |
| 90 | # Aether ROC GUI |
Sean Condon | 44c78b9 | 2022-02-18 13:12:12 +0000 | [diff] [blame] | 91 | aether-roc-gui-v2: |
| 92 | nameOverride: aether-roc-gui-v2 |
| 93 | fullnameOverride: aether-roc-gui-v2 |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 94 | 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 Condon | 44c78b9 | 2022-02-18 13:12:12 +0000 | [diff] [blame] | 100 | 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 Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 115 | |
Sean Condon | b44c6ce | 2021-10-01 15:29:32 +0100 | [diff] [blame] | 116 | aether-roc-gui-v4: |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 117 | nameOverride: aether-roc-gui-v4 |
| 118 | fullnameOverride: aether-roc-gui-v4 |
Sean Condon | b44c6ce | 2021-10-01 15:29:32 +0100 | [diff] [blame] | 119 | 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 Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 125 | 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 Condon | b44c6ce | 2021-10-01 15:29:32 +0100 | [diff] [blame] | 140 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 141 | # SD-Core Adapter |
Scott Baker | 4bc8624 | 2022-04-19 15:45:51 -0700 | [diff] [blame] | 142 | sdcore-adapter-v2-0: |
| 143 | fullnameOverride: sdcore-adapter-v2-0 |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 144 | prometheusEnabled: false |
Scott Baker | b59cc80 | 2022-03-04 15:17:33 -0800 | [diff] [blame] | 145 | partialUpdateEnabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 146 | |
Scott Baker | aefb927 | 2022-04-18 09:47:47 -0700 | [diff] [blame] | 147 | sdcore-adapter-v2-1: |
Scott Baker | 4bc8624 | 2022-04-19 15:45:51 -0700 | [diff] [blame] | 148 | fullnameOverride: sdcore-adapter-v2-1 |
Scott Baker | ed05fb5 | 2021-10-13 09:21:47 -0700 | [diff] [blame] | 149 | prometheusEnabled: false |
Scott Baker | aefb927 | 2022-04-18 09:47:47 -0700 | [diff] [blame] | 150 | partialUpdateEnabled: true |
Scott Baker | ed05fb5 | 2021-10-13 09:21:47 -0700 | [diff] [blame] | 151 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 152 | # Subscriber Proxy |
| 153 | subscriber-proxy: |
| 154 | nameOverride: subscriber-proxy |
| 155 | fullnameOverride: subscriber-proxy |
| 156 | prometheusEnabled: false |
| 157 | |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 158 | # Prom label Proxy |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 159 | prom-label-proxy-amp: |
| 160 | nameOverride: prom-label-proxy-amp |
| 161 | fullnameOverride: prom-label-proxy-amp |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 162 | prometheusEnabled: false |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 163 | config: |
| 164 | upstream: http://aether-roc-umbrella-prometheus-amp-server |
| 165 | |
| 166 | prom-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 Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 172 | |
Prateek Sarda | 2cf72f6 | 2021-10-26 13:43:10 +0000 | [diff] [blame] | 173 | grafana: |
| 174 | sidecar: |
| 175 | dashboards: |
| 176 | enabled: true |
| 177 | label: grafana_dashboard |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 178 | 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 Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 204 | grafana.ini: |
| 205 | log: |
| 206 | level: debug |
| 207 | server: |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 208 | domain: aether-roc-gui:8183 |
| 209 | root_url: "%(protocol)s://%(domain)s/grafana/" |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 210 | serve_from_sub_path: true |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 211 | security: |
| 212 | allow_embedding: true |
| 213 | auth: |
| 214 | disable_login_form: true |
| 215 | oauth_auto_login: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 216 | auth.anonymous: |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 217 | 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 Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 232 | cache_ttl: 60m |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 233 | auth.generic_oauth: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 234 | enabled: true |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 235 | 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 Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 245 | |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 246 | prometheus-acc: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 247 | pushgateway: |
| 248 | enabled: false |
| 249 | nodeExporter: |
| 250 | enabled: false |
| 251 | kubeStateMetrics: |
| 252 | enabled: false |
| 253 | alertmanager: |
| 254 | configMapOverrideName: alertmanager |
Sean Condon | d7d1834 | 2021-10-11 14:25:27 +0100 | [diff] [blame] | 255 | webhook_url: "http://aether-roc-websocket/webhook" |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 256 | 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 Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 305 | - job_name: demo-exporter |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 306 | scrape_interval: 2s |
| 307 | static_configs: |
| 308 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 309 | - demo-exporter:2112 |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 310 | |
| 311 | prometheus-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 Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 323 | - job_name: demo-exporter |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 324 | scrape_interval: 2s |
| 325 | static_configs: |
| 326 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 327 | - demo-exporter:2112 |
Sean Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 328 | |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 329 | prometheus-ace: |
| 330 | pushgateway: |
| 331 | enabled: false |
| 332 | nodeExporter: |
| 333 | enabled: false |
| 334 | kubeStateMetrics: |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 335 | enabled: true |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 336 | alertmanager: |
| 337 | enabled: false |
| 338 | serverFiles: |
| 339 | prometheus.yml: |
| 340 | scrape_configs: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 341 | - job_name: demo-exporter |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 342 | scrape_interval: 2s |
| 343 | static_configs: |
| 344 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 345 | - demo-exporter:2112 |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 346 | - job_name: kube-state-metrics |
| 347 | scrape_interval: 2s |
| 348 | static_configs: |
| 349 | - targets: |
| 350 | - aether-roc-umbrella-kube-state-metrics:8080 |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 351 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 352 | # SD-Core Test Dummy |
| 353 | # proxy_pass has to be added or nginx will not log the $request_body |
| 354 | sdcore-test-dummy: |
| 355 | service: |
| 356 | type: ClusterIP |
| 357 | existingServerBlockConfigmap: aether-roc-umbrella-sdcore-test-dummy |
| 358 | |
| 359 | # ONOS-CONFIG |
| 360 | onos-config: |
| 361 | store: |
| 362 | consensus: |
| 363 | enabled: false |
Sean Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 364 | modelPlugins: |
| 365 | - name: aether-2 |
Sean Condon | 74e8d94 | 2022-03-16 19:20:08 +0000 | [diff] [blame] | 366 | image: onosproject/aether-2.0.x:2.0.3-aether-2.0.x |
Sean Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 367 | endpoint: localhost |
| 368 | port: 5152 |
Sean Condon | 74e8d94 | 2022-03-16 19:20:08 +0000 | [diff] [blame] | 369 | - name: aether-2-1 |
SeanCondon | e155baf | 2022-04-11 18:55:55 +0100 | [diff] [blame] | 370 | image: onosproject/aether-2.1.x:2.1.3-aether-2.1.x |
Sean Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 371 | endpoint: localhost |
| 372 | port: 5153 |
| 373 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 374 | openpolicyagent: |
| 375 | enabled: true |
| 376 | regoConfigMap: aether-roc-umbrella-opa-rbac |
Andy Bavier | 955301e | 2022-04-22 14:34:54 -0700 | [diff] [blame^] | 377 | |
| 378 | enterprises: |
| 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 |