Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org> |
| 2 | # |
| 3 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 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 |
| 38 | onos-gui: |
| 39 | enabled: false |
| 40 | onos-cli: |
| 41 | enabled: true |
| 42 | aether-roc-api: |
| 43 | enabled: true |
Sean Condon | d7d1834 | 2021-10-11 14:25:27 +0100 | [diff] [blame] | 44 | aether-roc-websocket: |
| 45 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 46 | aether-roc-gui: |
Sean Condon | 6fc9968 | 2022-02-04 10:48:17 +0000 | [diff] [blame] | 47 | v2: |
Sean Condon | b44c6ce | 2021-10-01 15:29:32 +0100 | [diff] [blame] | 48 | enabled: false |
Sean Condon | 9b72e36 | 2021-10-07 12:59:21 +0100 | [diff] [blame] | 49 | v4: |
| 50 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 51 | sdcore-adapter: |
Scott Baker | e35e683 | 2022-01-10 15:48:08 -0800 | [diff] [blame] | 52 | v2: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 53 | enabled: true |
Scott Baker | e35e683 | 2022-01-10 15:48:08 -0800 | [diff] [blame] | 54 | v4: |
| 55 | enabled: false |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 56 | 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 Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 63 | acc: |
| 64 | enabled: true # controls its plproxy too |
| 65 | amp: |
| 66 | enabled: true # controls its plproxy too |
| 67 | ace: |
| 68 | enabled: true |
Sean Condon | 98fde36 | 2021-11-04 15:58:35 +0000 | [diff] [blame] | 69 | prom-label-proxy: |
| 70 | acc: |
| 71 | enabled: true |
| 72 | amp: |
| 73 | enabled: true |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 74 | demo-exporter: |
| 75 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 76 | |
| 77 | # ONOS-TOPO |
| 78 | onos-topo: |
| 79 | store: |
| 80 | consensus: |
| 81 | enabled: false |
| 82 | |
| 83 | # ONOS-GUI |
| 84 | onos-gui: {} |
| 85 | |
| 86 | # ONOS-CLI |
| 87 | onos-cli: {} |
| 88 | |
| 89 | # Aether ROC API |
| 90 | aether-roc-api: {} |
| 91 | |
| 92 | # Aether ROC GUI |
Zack Williams | c1fad78 | 2021-09-28 17:40:03 -0700 | [diff] [blame] | 93 | aether-roc-gui: |
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: |
| 100 | proxyEnabled: true |
Sean Condon | 720612a | 2021-10-26 08:42:16 +0100 | [diff] [blame] | 101 | service: aether-roc-umbrella-prometheus-acc-server |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 102 | |
Sean Condon | b44c6ce | 2021-10-01 15:29:32 +0100 | [diff] [blame] | 103 | aether-roc-gui-v4: |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 104 | nameOverride: aether-roc-gui-v4 |
| 105 | fullnameOverride: aether-roc-gui-v4 |
Sean Condon | b44c6ce | 2021-10-01 15:29:32 +0100 | [diff] [blame] | 106 | 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 Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 112 | 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 Condon | b44c6ce | 2021-10-01 15:29:32 +0100 | [diff] [blame] | 127 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 128 | # SD-Core Adapter |
Scott Baker | e35e683 | 2022-01-10 15:48:08 -0800 | [diff] [blame] | 129 | sdcore-adapter-v2: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 130 | prometheusEnabled: false |
Scott Baker | e35e683 | 2022-01-10 15:48:08 -0800 | [diff] [blame] | 131 | partialUpdateEnabled: false |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 132 | |
Scott Baker | ed05fb5 | 2021-10-13 09:21:47 -0700 | [diff] [blame] | 133 | sdcore-adapter-v4: |
| 134 | prometheusEnabled: false |
Scott Baker | 193035b | 2021-11-19 10:56:45 -0800 | [diff] [blame] | 135 | partialUpdateEnabled: false |
Scott Baker | ed05fb5 | 2021-10-13 09:21:47 -0700 | [diff] [blame] | 136 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 137 | # Subscriber Proxy |
| 138 | subscriber-proxy: |
| 139 | nameOverride: subscriber-proxy |
| 140 | fullnameOverride: subscriber-proxy |
| 141 | prometheusEnabled: false |
| 142 | |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 143 | # Prom label Proxy |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 144 | prom-label-proxy-amp: |
| 145 | nameOverride: prom-label-proxy-amp |
| 146 | fullnameOverride: prom-label-proxy-amp |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 147 | prometheusEnabled: false |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 148 | config: |
| 149 | upstream: http://aether-roc-umbrella-prometheus-amp-server |
| 150 | |
| 151 | prom-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 Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 157 | |
Prateek Sarda | 2cf72f6 | 2021-10-26 13:43:10 +0000 | [diff] [blame] | 158 | grafana: |
| 159 | sidecar: |
| 160 | dashboards: |
| 161 | enabled: true |
| 162 | label: grafana_dashboard |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 163 | 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 Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 189 | grafana.ini: |
| 190 | log: |
| 191 | level: debug |
| 192 | server: |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 193 | domain: aether-roc-gui:8183 |
| 194 | root_url: "%(protocol)s://%(domain)s/grafana/" |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 195 | serve_from_sub_path: true |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 196 | security: |
| 197 | allow_embedding: true |
| 198 | auth: |
| 199 | disable_login_form: true |
| 200 | oauth_auto_login: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 201 | auth.anonymous: |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 202 | 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 Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 219 | enabled: true |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 220 | 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 Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 230 | |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 231 | prometheus-acc: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 232 | pushgateway: |
| 233 | enabled: false |
| 234 | nodeExporter: |
| 235 | enabled: false |
| 236 | kubeStateMetrics: |
| 237 | enabled: false |
| 238 | alertmanager: |
| 239 | configMapOverrideName: alertmanager |
Sean Condon | d7d1834 | 2021-10-11 14:25:27 +0100 | [diff] [blame] | 240 | webhook_url: "http://aether-roc-websocket/webhook" |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 241 | 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 Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 290 | - job_name: demo-exporter |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 291 | scrape_interval: 2s |
| 292 | static_configs: |
| 293 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 294 | - demo-exporter:2112 |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 295 | |
| 296 | prometheus-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 Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 308 | - job_name: demo-exporter |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 309 | scrape_interval: 2s |
| 310 | static_configs: |
| 311 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 312 | - demo-exporter:2112 |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 313 | |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 314 | prometheus-ace: |
| 315 | pushgateway: |
| 316 | enabled: false |
| 317 | nodeExporter: |
| 318 | enabled: false |
| 319 | kubeStateMetrics: |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 320 | enabled: true |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 321 | alertmanager: |
| 322 | enabled: false |
| 323 | serverFiles: |
| 324 | prometheus.yml: |
| 325 | scrape_configs: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 326 | - job_name: demo-exporter |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 327 | scrape_interval: 2s |
| 328 | static_configs: |
| 329 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 330 | - demo-exporter:2112 |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 331 | - job_name: kube-state-metrics |
| 332 | scrape_interval: 2s |
| 333 | static_configs: |
| 334 | - targets: |
| 335 | - aether-roc-umbrella-kube-state-metrics:8080 |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 336 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 337 | # SD-Core Test Dummy |
| 338 | # proxy_pass has to be added or nginx will not log the $request_body |
| 339 | sdcore-test-dummy: |
| 340 | service: |
| 341 | type: ClusterIP |
| 342 | existingServerBlockConfigmap: aether-roc-umbrella-sdcore-test-dummy |
| 343 | |
| 344 | # ONOS-CONFIG |
| 345 | onos-config: |
| 346 | store: |
| 347 | consensus: |
| 348 | enabled: false |
| 349 | models: |
| 350 | aether: |
Scott Baker | e35e683 | 2022-01-10 15:48:08 -0800 | [diff] [blame] | 351 | v2: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 352 | enabled: true |
Scott Baker | 3bd5463 | 2021-09-27 13:27:52 -0700 | [diff] [blame] | 353 | v4: |
| 354 | enabled: true |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 355 | plproxy: |
| 356 | v1: |
| 357 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 358 | plugin: |
| 359 | compiler: |
| 360 | target: "" |
| 361 | openpolicyagent: |
| 362 | enabled: true |
| 363 | regoConfigMap: aether-roc-umbrella-opa-rbac |