David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 1 | # Copyright 2019-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 14 | --- |
David Bainbridge | 2bdd430 | 2020-06-09 17:13:18 -0700 | [diff] [blame] | 15 | nameOverride: ~ |
| 16 | fullNameOverride: ~ |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 17 | |
David Bainbridge | 60332ae | 2019-10-11 15:04:13 +0000 | [diff] [blame] | 18 | # Default Values |
| 19 | # The following are the default values used for every container in the |
| 20 | # template. |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 21 | global: |
| 22 | stack_name: voltha |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 23 | log_level: "WARN" |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 24 | image_registry: '' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 25 | image_org: "voltha/" |
David Bainbridge | 60332ae | 2019-10-11 15:04:13 +0000 | [diff] [blame] | 26 | image_tag: ~ |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 27 | image_pullPolicy: "Always" |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 28 | rw_core: |
Matteo Scandolo | 41e9c13 | 2020-06-04 15:11:02 -0700 | [diff] [blame] | 29 | timeout: "10s" |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 30 | # Configure Log Correlation |
| 31 | log_correlation: |
| 32 | enabled: true |
| 33 | # Configure Tracing |
| 34 | tracing: |
| 35 | enabled: true |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 36 | |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 37 | # Default security context under which the containers run |
David Bainbridge | 16b19cc | 2020-05-29 11:50:44 -0700 | [diff] [blame] | 38 | securityContext: |
| 39 | enabled: true |
| 40 | fsGroup: 1001 |
| 41 | runAsUser: 1001 |
| 42 | runAsGroup: 1001 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 43 | |
| 44 | # Define connectivity to services on which VOLTHA depends |
| 45 | services: |
| 46 | kafka: |
| 47 | adapter: |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 48 | address: kafka:9092 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 49 | cluster: |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 50 | address: kafka:9092 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 51 | |
| 52 | # Define connectivity to etcd |
| 53 | etcd: |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 54 | address: etcd:2379 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 55 | |
Girish Kumar | 877af92 | 2020-07-31 06:05:32 +0000 | [diff] [blame] | 56 | # Define Tracing Agent connection details |
| 57 | tracing_agent: |
| 58 | address: jaeger-agent:6831 |
| 59 | |
Jonathan Hart | 3980b74 | 2020-04-20 11:00:54 -0700 | [diff] [blame] | 60 | # Define the list of controllers to connect to |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 61 | controller: |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 62 | - address: onos-openflow:6653 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 63 | |
Matteo Scandolo | e9a01f7 | 2020-05-05 09:33:59 -0700 | [diff] [blame] | 64 | # Expose the golang pprof webserver, if enabled |
| 65 | profiler: |
| 66 | enabled: false |
| 67 | |
Girish Kumar | 877af92 | 2020-07-31 06:05:32 +0000 | [diff] [blame] | 68 | # Define the replica count for everything |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 69 | replicas: |
| 70 | # For R/W cores the templates translate the number of replicas |
| 71 | # into the number of RW core pairs with two pods per pair |
| 72 | rw_core: 1 |
| 73 | |
| 74 | # For everything else replicas are replicas |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 75 | ofagent: 1 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 76 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 77 | rw_core: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 78 | log_level: '{{ .Values.global.log_level }}' |
| 79 | core_timeout: '{{ .Values.global.rw_core.timeout }}' |
| 80 | timeout_long_request: '{{ .Values.global.rw_core.timeout }}' |
| 81 | timeout_request: '{{ .Values.global.rw_core.timeout }}' |
| 82 | kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha' |
| 83 | topics: |
| 84 | core_topic: "{{ .Values.global.stack_name }}_rwcore" |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 85 | |
David K. Bainbridge | 707022f | 2020-01-23 14:15:07 -0800 | [diff] [blame] | 86 | ofagent: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 87 | log_level: '{{ .Values.global.log_level }}' |
David K. Bainbridge | 707022f | 2020-01-23 14:15:07 -0800 | [diff] [blame] | 88 | |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 89 | # Define Docker images to be used |
| 90 | images: |
David Bainbridge | 60018ec | 2020-06-02 13:32:30 -0700 | [diff] [blame] | 91 | ofagent: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 92 | registry: '{{ .Values.global.image_registry }}' |
| 93 | repository: '{{ .Values.global.image_org }}voltha-ofagent-go' |
| 94 | tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}1.4.2{{- end }}{{- else }}1.4.2{{- end }}' |
| 95 | pullPolicy: '{{ .Values.global.image_pullPolicy }}' |
Matteo Scandolo | ccea27b | 2020-03-18 15:25:05 -0700 | [diff] [blame] | 96 | |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 97 | rw_core: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 98 | registry: '{{ .Values.global.image_registry }}' |
| 99 | repository: '{{ .Values.global.image_org }}voltha-rw-core' |
| 100 | tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}2.6.3{{- end }}{{- else }}2.6.3{{- end }}' |
| 101 | pullPolicy: '{{ .Values.global.image_pullPolicy }}' |