Scott Baker | 2f8fe3a | 2022-05-09 10:48:16 -0700 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2022-present Intel Corporation |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 2 | # SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org> |
| 3 | # |
Sean Condon | 160ec1d | 2022-02-08 12:58:25 +0000 | [diff] [blame] | 4 | # SPDX-License-Identifier: Apache-2.0 |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 5 | |
| 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 | |
| 10 | global: |
| 11 | fullnameOverride: "onos" |
| 12 | nameOverride: "" |
| 13 | image: |
| 14 | registry: "" |
| 15 | tag: "" |
| 16 | store: |
| 17 | consensus: |
| 18 | enabled: true |
| 19 | name: "" |
| 20 | image: |
| 21 | registry: "" |
| 22 | repository: atomix/atomix-raft-storage-node |
| 23 | tag: "" |
| 24 | pullPolicy: IfNotPresent |
| 25 | pullSecrets: [] |
| 26 | clusters: 1 |
| 27 | replicas: 1 |
| 28 | partitions: 1 |
| 29 | raft: {} |
| 30 | persistence: |
| 31 | storageClass: "" |
| 32 | storageSize: 1Gi |
| 33 | |
| 34 | import: |
| 35 | onos-topo: |
| 36 | enabled: true |
| 37 | onos-config: |
| 38 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 39 | onos-cli: |
| 40 | enabled: true |
| 41 | aether-roc-api: |
| 42 | enabled: true |
| 43 | aether-roc-gui: |
SeanCondon | 2c1412a | 2022-04-26 11:50:05 +0100 | [diff] [blame] | 44 | v2-0: |
Sean Condon | fd3c9a4 | 2022-02-16 21:07:06 +0000 | [diff] [blame] | 45 | enabled: false |
SeanCondon | 2c1412a | 2022-04-26 11:50:05 +0100 | [diff] [blame] | 46 | v2-1: |
| 47 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 48 | sdcore-adapter: |
Scott Baker | 4bc8624 | 2022-04-19 15:45:51 -0700 | [diff] [blame] | 49 | v2-0: |
Scott Baker | e35e683 | 2022-01-10 15:48:08 -0800 | [diff] [blame] | 50 | enabled: false |
Scott Baker | aefb927 | 2022-04-18 09:47:47 -0700 | [diff] [blame] | 51 | v2-1: |
| 52 | enabled: true |
Scott Baker | 2f8fe3a | 2022-05-09 10:48:16 -0700 | [diff] [blame] | 53 | sdcore-prom-kafka: |
| 54 | enabled: false |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 55 | subscriber-proxy: |
| 56 | enabled: true |
| 57 | sdcore-test-dummy: |
| 58 | enabled: true |
| 59 | grafana: |
| 60 | enabled: true #also enable the proxy below |
| 61 | prometheus: |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 62 | acc: |
| 63 | enabled: true # controls its plproxy too |
| 64 | amp: |
| 65 | enabled: true # controls its plproxy too |
| 66 | ace: |
| 67 | enabled: true |
Sean Condon | 98fde36 | 2021-11-04 15:58:35 +0000 | [diff] [blame] | 68 | prom-label-proxy: |
| 69 | acc: |
| 70 | enabled: true |
| 71 | amp: |
| 72 | enabled: true |
Scott Baker | aac30df | 2022-04-29 13:53:17 -0700 | [diff] [blame] | 73 | aether-mock-exporter: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 74 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 75 | |
| 76 | # ONOS-TOPO |
| 77 | onos-topo: |
| 78 | store: |
| 79 | consensus: |
| 80 | enabled: false |
| 81 | |
| 82 | # ONOS-GUI |
| 83 | onos-gui: {} |
| 84 | |
| 85 | # ONOS-CLI |
| 86 | onos-cli: {} |
| 87 | |
| 88 | # Aether ROC API |
| 89 | aether-roc-api: {} |
| 90 | |
| 91 | # Aether ROC GUI |
Sean Condon | 44c78b9 | 2022-02-18 13:12:12 +0000 | [diff] [blame] | 92 | aether-roc-gui-v2: |
| 93 | nameOverride: aether-roc-gui-v2 |
| 94 | fullnameOverride: aether-roc-gui-v2 |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 95 | grafana: |
| 96 | proxyEnabled: true |
| 97 | service: aether-roc-umbrella-grafana # the grafana hostname - use FQDN for other namespaces |
| 98 | prometheus: |
Sean Condon | 44c78b9 | 2022-02-18 13:12:12 +0000 | [diff] [blame] | 99 | acc: |
| 100 | proxyEnabled: true |
| 101 | service: prom-label-proxy-acc |
| 102 | protocol: http |
| 103 | port: 8080 |
| 104 | amp: |
| 105 | proxyEnabled: true |
| 106 | service: prom-label-proxy-amp |
| 107 | protocol: http |
| 108 | port: 8080 |
| 109 | site: |
| 110 | - name: ace1 |
| 111 | service: aether-roc-umbrella-prometheus-ace-server |
| 112 | protocol: http |
| 113 | port: 80 |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 114 | |
SeanCondon | 34f3187 | 2022-07-22 16:37:09 +0100 | [diff] [blame] | 115 | aether-roc-gui-v2-1: |
| 116 | nameOverride: aether-roc-gui-v2-1 |
| 117 | fullnameOverride: aether-roc-gui-v2-1 |
| 118 | feature: |
| 119 | aether: true |
| 120 | sdnfabric: false |
Sean Condon | b44c6ce | 2021-10-01 15:29:32 +0100 | [diff] [blame] | 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 |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 255 | serverFiles: |
| 256 | alerting_rules.yml: |
| 257 | groups: |
| 258 | - name: UeAlerts |
| 259 | rules: |
| 260 | - alert: UeThroughputLow |
| 261 | expr: ue_throughput < 9000 |
| 262 | for: 1m |
| 263 | labels: |
| 264 | severity: info |
| 265 | annotations: |
| 266 | description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput has been low for more than 1 minutes.' |
| 267 | summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput low' |
| 268 | - alert: UeLatencyHigh |
| 269 | expr: ue_latency > 8 |
| 270 | for: 1m |
| 271 | labels: |
| 272 | severity: info |
| 273 | annotations: |
| 274 | description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency has been high for more than 1 minutes.' |
| 275 | summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency high' |
| 276 | - name: VcsAlerts |
| 277 | rules: |
| 278 | - alert: VcsThroughputLow |
| 279 | expr: vcs_throughput < 9000 |
| 280 | for: 1m |
| 281 | labels: |
| 282 | severity: info |
| 283 | annotations: |
| 284 | description: 'VCS {{ $labels.vcs_id }} throughput has been low for more than 1 minutes.' |
| 285 | summary: 'VCS {{ $labels.vcs_id }} throughput low' |
| 286 | - alert: VcsLatencyHigh |
| 287 | expr: vcs_latency > 30 |
| 288 | for: 1m |
| 289 | labels: |
| 290 | severity: warn |
| 291 | annotations: |
| 292 | description: 'VCS {{ $labels.vcs_id }} latency has been high for more than 1 minutes.' |
| 293 | summary: 'VCS {{ $labels.vcs_id }} latency high' |
| 294 | - alert: VcsJitterHigh |
| 295 | expr: vcs_jitter > 8 |
| 296 | for: 1m |
| 297 | labels: |
| 298 | severity: page |
| 299 | annotations: |
| 300 | description: 'VCS {{ $labels.vcs_id }} jitter has been high for more than 1 minutes.' |
| 301 | summary: 'VCS {{ $labels.vcs_id }} jitter high' |
| 302 | prometheus.yml: |
| 303 | scrape_configs: |
Scott Baker | aac30df | 2022-04-29 13:53:17 -0700 | [diff] [blame] | 304 | - job_name: aether-mock-exporter |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 305 | scrape_interval: 2s |
| 306 | static_configs: |
| 307 | - targets: |
Scott Baker | aac30df | 2022-04-29 13:53:17 -0700 | [diff] [blame] | 308 | - aether-mock-exporter:2112 |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 309 | |
| 310 | prometheus-amp: |
| 311 | pushgateway: |
| 312 | enabled: false |
| 313 | nodeExporter: |
| 314 | enabled: false |
| 315 | kubeStateMetrics: |
| 316 | enabled: false |
| 317 | alertmanager: |
| 318 | enabled: false |
| 319 | serverFiles: |
| 320 | prometheus.yml: |
| 321 | scrape_configs: |
Scott Baker | aac30df | 2022-04-29 13:53:17 -0700 | [diff] [blame] | 322 | - job_name: aether-mock-exporter |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 323 | scrape_interval: 2s |
| 324 | static_configs: |
| 325 | - targets: |
Scott Baker | aac30df | 2022-04-29 13:53:17 -0700 | [diff] [blame] | 326 | - aether-mock-exporter:2112 |
Sean Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 327 | |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 328 | prometheus-ace: |
| 329 | pushgateway: |
| 330 | enabled: false |
| 331 | nodeExporter: |
| 332 | enabled: false |
| 333 | kubeStateMetrics: |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 334 | enabled: true |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 335 | alertmanager: |
| 336 | enabled: false |
| 337 | serverFiles: |
| 338 | prometheus.yml: |
| 339 | scrape_configs: |
Scott Baker | aac30df | 2022-04-29 13:53:17 -0700 | [diff] [blame] | 340 | - job_name: aether-mock-exporter |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 341 | scrape_interval: 2s |
| 342 | static_configs: |
| 343 | - targets: |
Scott Baker | aac30df | 2022-04-29 13:53:17 -0700 | [diff] [blame] | 344 | - aether-mock-exporter:2112 |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 345 | - job_name: kube-state-metrics |
| 346 | scrape_interval: 2s |
| 347 | static_configs: |
| 348 | - targets: |
| 349 | - aether-roc-umbrella-kube-state-metrics:8080 |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 350 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 351 | # SD-Core Test Dummy |
| 352 | # proxy_pass has to be added or nginx will not log the $request_body |
| 353 | sdcore-test-dummy: |
| 354 | service: |
| 355 | type: ClusterIP |
| 356 | existingServerBlockConfigmap: aether-roc-umbrella-sdcore-test-dummy |
| 357 | |
| 358 | # ONOS-CONFIG |
| 359 | onos-config: |
| 360 | store: |
| 361 | consensus: |
| 362 | enabled: false |
Sean Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 363 | modelPlugins: |
| 364 | - name: aether-2 |
SeanCondon | 1261c88 | 2022-08-11 11:52:37 +0100 | [diff] [blame^] | 365 | image: onosproject/aether-2.0.x:2.0.12-aether-2.0.x |
Sean Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 366 | endpoint: localhost |
| 367 | port: 5152 |
Sean Condon | 74e8d94 | 2022-03-16 19:20:08 +0000 | [diff] [blame] | 368 | - name: aether-2-1 |
SeanCondon | 1261c88 | 2022-08-11 11:52:37 +0100 | [diff] [blame^] | 369 | image: onosproject/aether-2.1.x:2.1.11-aether-2.1.x |
Sean Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 370 | endpoint: localhost |
| 371 | port: 5153 |
| 372 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 373 | openpolicyagent: |
| 374 | enabled: true |
| 375 | regoConfigMap: aether-roc-umbrella-opa-rbac |
Andy Bavier | 955301e | 2022-04-22 14:34:54 -0700 | [diff] [blame] | 376 | |
| 377 | enterprises: |
| 378 | - id: starbucks |
| 379 | name: Starbucks Enterprise |
SeanCondon | f49d7fb | 2022-05-04 18:13:26 +0100 | [diff] [blame] | 380 | lat: 47.581115 |
| 381 | long: -122.335692 |
Andy Bavier | 955301e | 2022-04-22 14:34:54 -0700 | [diff] [blame] | 382 | - id: acme |
| 383 | name: ACME Enterprise |
SeanCondon | f49d7fb | 2022-05-04 18:13:26 +0100 | [diff] [blame] | 384 | lat: 41.974568 |
| 385 | long: -87.782062 |
Andy Bavier | 955301e | 2022-04-22 14:34:54 -0700 | [diff] [blame] | 386 | - id: defaultent |
| 387 | name: Default Enterprise |
SeanCondon | f49d7fb | 2022-05-04 18:13:26 +0100 | [diff] [blame] | 388 | lat: 37.453017 |
| 389 | long: -122.180708 |