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: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 47 | v3: |
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 | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 52 | v3: |
Scott Baker | ed05fb5 | 2021-10-13 09:21:47 -0700 | [diff] [blame] | 53 | enabled: false |
| 54 | v4: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 55 | enabled: true |
| 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 |
Zack Williams | c1fad78 | 2021-09-28 17:40:03 -0700 | [diff] [blame] | 129 | sdcore-adapter: |
| 130 | nameOverride: sdcore-adapter-v3 |
| 131 | fullnameOverride: sdcore-adapter-v3 |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 132 | prometheusEnabled: false |
| 133 | |
Scott Baker | ed05fb5 | 2021-10-13 09:21:47 -0700 | [diff] [blame] | 134 | sdcore-adapter-v4: |
| 135 | prometheusEnabled: false |
Scott Baker | 193035b | 2021-11-19 10:56:45 -0800 | [diff] [blame] | 136 | partialUpdateEnabled: false |
Scott Baker | ed05fb5 | 2021-10-13 09:21:47 -0700 | [diff] [blame] | 137 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 138 | # Subscriber Proxy |
| 139 | subscriber-proxy: |
| 140 | nameOverride: subscriber-proxy |
| 141 | fullnameOverride: subscriber-proxy |
| 142 | prometheusEnabled: false |
| 143 | |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 144 | # Prom label Proxy |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 145 | prom-label-proxy-amp: |
| 146 | nameOverride: prom-label-proxy-amp |
| 147 | fullnameOverride: prom-label-proxy-amp |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 148 | prometheusEnabled: false |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 149 | config: |
| 150 | upstream: http://aether-roc-umbrella-prometheus-amp-server |
| 151 | |
| 152 | prom-label-proxy-acc: |
| 153 | nameOverride: prom-label-proxy-acc |
| 154 | fullnameOverride: prom-label-proxy-acc |
| 155 | prometheusEnabled: false |
| 156 | config: |
| 157 | upstream: http://aether-roc-umbrella-prometheus-acc-server |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 158 | |
Prateek Sarda | 2cf72f6 | 2021-10-26 13:43:10 +0000 | [diff] [blame] | 159 | grafana: |
| 160 | sidecar: |
| 161 | dashboards: |
| 162 | enabled: true |
| 163 | label: grafana_dashboard |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 164 | labelValue: aether-roc-gui |
| 165 | datasources: |
| 166 | enabled: true |
| 167 | label: grafana_datasource |
| 168 | labelValue: aether-roc-gui |
| 169 | source: |
| 170 | - name: acc |
| 171 | protocol: http |
| 172 | service: aether-roc-umbrella-prometheus-acc-server |
| 173 | port: 80 |
| 174 | - name: amp |
| 175 | protocol: http |
| 176 | service: aether-roc-umbrella-prometheus-amp-server |
| 177 | port: 80 |
| 178 | - name: acme-chicago |
| 179 | protocol: http |
| 180 | service: aether-roc-umbrella-prometheus-ace-server |
| 181 | port: 80 |
| 182 | - name: starbucks-newyork |
| 183 | protocol: http |
| 184 | service: aether-roc-umbrella-prometheus-ace-server |
| 185 | port: 80 |
| 186 | - name: starbucks-seattle |
| 187 | protocol: http |
| 188 | service: aether-roc-umbrella-prometheus-ace-server |
| 189 | port: 80 |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 190 | grafana.ini: |
| 191 | log: |
| 192 | level: debug |
| 193 | server: |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 194 | domain: aether-roc-gui:8183 |
| 195 | root_url: "%(protocol)s://%(domain)s/grafana/" |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 196 | serve_from_sub_path: true |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 197 | security: |
| 198 | allow_embedding: true |
| 199 | auth: |
| 200 | disable_login_form: true |
| 201 | oauth_auto_login: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 202 | auth.anonymous: |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 203 | enabled: false |
| 204 | hide_version: false |
| 205 | # Disabled other auth types for the moment - see aether-roc-gui/docs/grafana.md |
| 206 | auth.proxy: |
| 207 | enabled: false |
| 208 | header_name: X-WEBAUTH-USER |
| 209 | header_property: username |
| 210 | auto_sign_up: true |
| 211 | enable_login_token: true |
| 212 | auth.jwt: |
| 213 | enabled: false |
| 214 | header_name: X-JWT-Assertion |
| 215 | username_claim: name |
| 216 | email_claim: email |
| 217 | jwk_set_url: "https://keycloak.opennetworking.org/auth/realms/master/protocol/openid-connect/certs" |
| 218 | cache_ttl: 60m |
| 219 | auth.generic_oauth: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 220 | enabled: true |
Prateek Sarda | c3a50d3 | 2021-11-10 12:40:17 +0000 | [diff] [blame] | 221 | client_id: aether-roc-gui |
| 222 | # client_secret: YWV0aGVyLXJvYy1ndWkK |
| 223 | scopes: "openid profile email groups" |
| 224 | empty_scopes: false |
| 225 | auth_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/auth" |
| 226 | token_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/token" |
| 227 | api_url: "http://k3u-keycloak:5557/auth/realms/master/protocol/openid-connect/userinfo" |
| 228 | allowed_domains: opennetworking.org |
| 229 | allow_sign_up: true |
| 230 | name: KeyCloak |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 231 | |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 232 | prometheus-acc: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 233 | pushgateway: |
| 234 | enabled: false |
| 235 | nodeExporter: |
| 236 | enabled: false |
| 237 | kubeStateMetrics: |
| 238 | enabled: false |
| 239 | alertmanager: |
| 240 | configMapOverrideName: alertmanager |
Sean Condon | d7d1834 | 2021-10-11 14:25:27 +0100 | [diff] [blame] | 241 | webhook_url: "http://aether-roc-websocket/webhook" |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 242 | serverFiles: |
| 243 | alerting_rules.yml: |
| 244 | groups: |
| 245 | - name: UeAlerts |
| 246 | rules: |
| 247 | - alert: UeThroughputLow |
| 248 | expr: ue_throughput < 9000 |
| 249 | for: 1m |
| 250 | labels: |
| 251 | severity: info |
| 252 | annotations: |
| 253 | description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput has been low for more than 1 minutes.' |
| 254 | summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} throughput low' |
| 255 | - alert: UeLatencyHigh |
| 256 | expr: ue_latency > 8 |
| 257 | for: 1m |
| 258 | labels: |
| 259 | severity: info |
| 260 | annotations: |
| 261 | description: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency has been high for more than 1 minutes.' |
| 262 | summary: 'UE {{ $labels.id }} on VCS {{ $labels.slice }} latency high' |
| 263 | - name: VcsAlerts |
| 264 | rules: |
| 265 | - alert: VcsThroughputLow |
| 266 | expr: vcs_throughput < 9000 |
| 267 | for: 1m |
| 268 | labels: |
| 269 | severity: info |
| 270 | annotations: |
| 271 | description: 'VCS {{ $labels.vcs_id }} throughput has been low for more than 1 minutes.' |
| 272 | summary: 'VCS {{ $labels.vcs_id }} throughput low' |
| 273 | - alert: VcsLatencyHigh |
| 274 | expr: vcs_latency > 30 |
| 275 | for: 1m |
| 276 | labels: |
| 277 | severity: warn |
| 278 | annotations: |
| 279 | description: 'VCS {{ $labels.vcs_id }} latency has been high for more than 1 minutes.' |
| 280 | summary: 'VCS {{ $labels.vcs_id }} latency high' |
| 281 | - alert: VcsJitterHigh |
| 282 | expr: vcs_jitter > 8 |
| 283 | for: 1m |
| 284 | labels: |
| 285 | severity: page |
| 286 | annotations: |
| 287 | description: 'VCS {{ $labels.vcs_id }} jitter has been high for more than 1 minutes.' |
| 288 | summary: 'VCS {{ $labels.vcs_id }} jitter high' |
| 289 | prometheus.yml: |
| 290 | scrape_configs: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 291 | - job_name: demo-exporter |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 292 | scrape_interval: 2s |
| 293 | static_configs: |
| 294 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 295 | - demo-exporter:2112 |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 296 | |
| 297 | prometheus-amp: |
| 298 | pushgateway: |
| 299 | enabled: false |
| 300 | nodeExporter: |
| 301 | enabled: false |
| 302 | kubeStateMetrics: |
| 303 | enabled: false |
| 304 | alertmanager: |
| 305 | enabled: false |
| 306 | serverFiles: |
| 307 | prometheus.yml: |
| 308 | scrape_configs: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 309 | - job_name: demo-exporter |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 310 | scrape_interval: 2s |
| 311 | static_configs: |
| 312 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 313 | - demo-exporter:2112 |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 314 | |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 315 | prometheus-ace: |
| 316 | pushgateway: |
| 317 | enabled: false |
| 318 | nodeExporter: |
| 319 | enabled: false |
| 320 | kubeStateMetrics: |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 321 | enabled: true |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 322 | alertmanager: |
| 323 | enabled: false |
| 324 | serverFiles: |
| 325 | prometheus.yml: |
| 326 | scrape_configs: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 327 | - job_name: demo-exporter |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 328 | scrape_interval: 2s |
| 329 | static_configs: |
| 330 | - targets: |
Sean Condon | 25c7bf5 | 2021-11-06 11:53:59 +0000 | [diff] [blame] | 331 | - demo-exporter:2112 |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 332 | - job_name: kube-state-metrics |
| 333 | scrape_interval: 2s |
| 334 | static_configs: |
| 335 | - targets: |
| 336 | - aether-roc-umbrella-kube-state-metrics:8080 |
Sean Condon | 0246661 | 2021-10-22 17:08:25 +0100 | [diff] [blame] | 337 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 338 | # SD-Core Test Dummy |
| 339 | # proxy_pass has to be added or nginx will not log the $request_body |
| 340 | sdcore-test-dummy: |
| 341 | service: |
| 342 | type: ClusterIP |
| 343 | existingServerBlockConfigmap: aether-roc-umbrella-sdcore-test-dummy |
| 344 | |
| 345 | # ONOS-CONFIG |
| 346 | onos-config: |
| 347 | store: |
| 348 | consensus: |
| 349 | enabled: false |
| 350 | models: |
| 351 | aether: |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 352 | v3: |
| 353 | enabled: true |
Scott Baker | 3bd5463 | 2021-09-27 13:27:52 -0700 | [diff] [blame] | 354 | v4: |
| 355 | enabled: true |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 356 | plproxy: |
| 357 | v1: |
| 358 | enabled: true |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 359 | plugin: |
| 360 | compiler: |
| 361 | target: "" |
| 362 | openpolicyagent: |
| 363 | enabled: true |
| 364 | regoConfigMap: aether-roc-umbrella-opa-rbac |