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 | e35e683 | 2022-01-10 15:48:08 -0800 | [diff] [blame] | 50 | v2: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 51 | enabled: true |
Scott Baker | e35e683 | 2022-01-10 15:48:08 -0800 | [diff] [blame] | 52 | v4: |
| 53 | enabled: false |
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 | e35e683 | 2022-01-10 15:48:08 -0800 | [diff] [blame] | 142 | sdcore-adapter-v2: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 143 | prometheusEnabled: false |
Scott Baker | b59cc80 | 2022-03-04 15:17:33 -0800 | [diff] [blame] | 144 | partialUpdateEnabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 145 | |
Scott Baker | ed05fb5 | 2021-10-13 09:21:47 -0700 | [diff] [blame] | 146 | sdcore-adapter-v4: |
| 147 | prometheusEnabled: false |
Scott Baker | b59cc80 | 2022-03-04 15:17:33 -0800 | [diff] [blame] | 148 | partialUpdateEnabled: true |
Scott Baker | ed05fb5 | 2021-10-13 09:21:47 -0700 | [diff] [blame] | 149 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 150 | # Subscriber Proxy |
| 151 | subscriber-proxy: |
| 152 | nameOverride: subscriber-proxy |
| 153 | fullnameOverride: subscriber-proxy |
| 154 | prometheusEnabled: false |
| 155 | |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 156 | # Prom label Proxy |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 157 | prom-label-proxy-amp: |
| 158 | nameOverride: prom-label-proxy-amp |
| 159 | fullnameOverride: prom-label-proxy-amp |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 160 | prometheusEnabled: false |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 161 | config: |
| 162 | upstream: http://aether-roc-umbrella-prometheus-amp-server |
| 163 | |
| 164 | prom-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 Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 170 | |
Prateek Sarda | 2cf72f6 | 2021-10-26 13:43:10 +0000 | [diff] [blame] | 171 | grafana: |
| 172 | sidecar: |
| 173 | dashboards: |
| 174 | enabled: true |
| 175 | label: grafana_dashboard |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 176 | 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 Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 202 | grafana.ini: |
| 203 | log: |
| 204 | level: debug |
| 205 | server: |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 206 | domain: aether-roc-gui:8183 |
| 207 | root_url: "%(protocol)s://%(domain)s/grafana/" |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 208 | serve_from_sub_path: true |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 209 | security: |
| 210 | allow_embedding: true |
| 211 | auth: |
| 212 | disable_login_form: true |
| 213 | oauth_auto_login: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 214 | auth.anonymous: |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 215 | 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 Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 230 | cache_ttl: 60m |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 231 | auth.generic_oauth: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 232 | enabled: true |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 233 | 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 Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 243 | |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 244 | prometheus-acc: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 245 | pushgateway: |
| 246 | enabled: false |
| 247 | nodeExporter: |
| 248 | enabled: false |
| 249 | kubeStateMetrics: |
| 250 | enabled: false |
| 251 | alertmanager: |
| 252 | configMapOverrideName: alertmanager |
Sean Condon | d7d1834 | 2021-10-11 14:25:27 +0100 | [diff] [blame] | 253 | webhook_url: "http://aether-roc-websocket/webhook" |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 254 | 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 Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 303 | - job_name: demo-exporter |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 304 | scrape_interval: 2s |
| 305 | static_configs: |
| 306 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 307 | - demo-exporter:2112 |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 308 | |
| 309 | prometheus-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 Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 321 | - job_name: demo-exporter |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 322 | scrape_interval: 2s |
| 323 | static_configs: |
| 324 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 325 | - demo-exporter:2112 |
Sean Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 326 | |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 327 | prometheus-ace: |
| 328 | pushgateway: |
| 329 | enabled: false |
| 330 | nodeExporter: |
| 331 | enabled: false |
| 332 | kubeStateMetrics: |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 333 | enabled: true |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 334 | alertmanager: |
| 335 | enabled: false |
| 336 | serverFiles: |
| 337 | prometheus.yml: |
| 338 | scrape_configs: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 339 | - job_name: demo-exporter |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 340 | scrape_interval: 2s |
| 341 | static_configs: |
| 342 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 343 | - demo-exporter:2112 |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 344 | - job_name: kube-state-metrics |
| 345 | scrape_interval: 2s |
| 346 | static_configs: |
| 347 | - targets: |
| 348 | - aether-roc-umbrella-kube-state-metrics:8080 |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 349 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 350 | # SD-Core Test Dummy |
| 351 | # proxy_pass has to be added or nginx will not log the $request_body |
| 352 | sdcore-test-dummy: |
| 353 | service: |
| 354 | type: ClusterIP |
| 355 | existingServerBlockConfigmap: aether-roc-umbrella-sdcore-test-dummy |
| 356 | |
| 357 | # ONOS-CONFIG |
| 358 | onos-config: |
| 359 | store: |
| 360 | consensus: |
| 361 | enabled: false |
Sean Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 362 | modelPlugins: |
| 363 | - name: aether-2 |
Sean Condon | 44c78b9 | 2022-02-18 13:12:12 +0000 | [diff] [blame] | 364 | image: onosproject/aether-2.0.x:2.0.1-dev-aether-2.0.x |
Sean Condon | 65dbad9 | 2022-02-04 13:36:47 +0000 | [diff] [blame] | 365 | 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 Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 372 | openpolicyagent: |
| 373 | enabled: true |
| 374 | regoConfigMap: aether-roc-umbrella-opa-rbac |