Zack Williams | c6202fe | 2020-03-26 10:55:40 -0700 | [diff] [blame] | 1 | --- |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 2 | # Copyright 2019-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 16 | serviceaccount: voltha-serviceaccount |
| 17 | private_etcd_cluster: true |
| 18 | private_kafka_cluster: true |
Matteo Scandolo | ccea27b | 2020-03-18 15:25:05 -0700 | [diff] [blame] | 19 | use_ofagent_go: true |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 20 | |
David Bainbridge | 60332ae | 2019-10-11 15:04:13 +0000 | [diff] [blame] | 21 | # Default Values |
| 22 | # The following are the default values used for every container in the |
| 23 | # template. |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 24 | defaults: |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 25 | log_level: "WARN" |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 26 | image_registry: '' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 27 | image_org: "voltha/" |
David Bainbridge | 60332ae | 2019-10-11 15:04:13 +0000 | [diff] [blame] | 28 | image_tag: ~ |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 29 | image_pullPolicy: "Always" |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 30 | rw_core: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 31 | timeout: "8000" |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 32 | |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 33 | # Configure the Kafka sub-chart (if it is used) |
| 34 | kafka: |
| 35 | configurationOverrides: |
Girish Kumar | 1c3f8aa | 2020-03-09 12:09:11 +0000 | [diff] [blame] | 36 | # Increase replication factor along with Replicas for HA |
| 37 | "default.replication.factor": 1 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 38 | "offsets.topic.replication.factor": 1 |
| 39 | "log.retention.hours": 4 |
| 40 | "log.message.timestamp.type": "LogAppendTime" |
| 41 | persistence: |
| 42 | enabled: false |
| 43 | zookeeper: |
| 44 | replicaCount: 1 |
| 45 | persistence: |
| 46 | enabled: false |
| 47 | replicas: 1 |
| 48 | |
| 49 | # Define connectivity to services on which VOLTHA depends |
| 50 | services: |
| 51 | kafka: |
| 52 | adapter: |
| 53 | service: voltha-kafka.voltha.svc.cluster.local |
| 54 | port: 9092 |
| 55 | cluster: |
| 56 | service: voltha-kafka.voltha.svc.cluster.local |
| 57 | port: 9092 |
| 58 | |
| 59 | # Define connectivity to etcd |
| 60 | etcd: |
| 61 | service: voltha-etcd-cluster-client.voltha.svc.cluster.local |
| 62 | port: 2379 |
| 63 | |
Jonathan Hart | 3980b74 | 2020-04-20 11:00:54 -0700 | [diff] [blame^] | 64 | # Define the list of controllers to connect to |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 65 | controller: |
Jonathan Hart | 3980b74 | 2020-04-20 11:00:54 -0700 | [diff] [blame^] | 66 | - service: onos-openflow.default.svc.cluster.local |
| 67 | port: 6653 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 68 | |
| 69 | # Define the recplica count for everything |
| 70 | replicas: |
| 71 | # For R/W cores the templates translate the number of replicas |
| 72 | # into the number of RW core pairs with two pods per pair |
| 73 | rw_core: 1 |
| 74 | |
| 75 | # For everything else replicas are replicas |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 76 | ofagent: 1 |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 77 | |
David Bainbridge | 50cb1ef | 2019-07-23 22:36:17 +0000 | [diff] [blame] | 78 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 79 | rw_core: |
David Bainbridge | 50cb1ef | 2019-07-23 22:36:17 +0000 | [diff] [blame] | 80 | log_level: '{{ .Values.defaults.log_level }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 81 | core_timeout: '{{ .Values.defaults.rw_core.timeout }}' |
| 82 | timeout_long_request: '{{ .Values.defaults.rw_core.timeout }}' |
| 83 | timeout_request: '{{ .Values.defaults.rw_core.timeout }}' |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 84 | |
David K. Bainbridge | 707022f | 2020-01-23 14:15:07 -0800 | [diff] [blame] | 85 | ofagent: |
hwchiu | ea1fb4d | 2020-02-11 19:50:14 +0000 | [diff] [blame] | 86 | log_level: '{{ .Values.defaults.log_level }}' |
David K. Bainbridge | 707022f | 2020-01-23 14:15:07 -0800 | [diff] [blame] | 87 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 88 | |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 89 | # Define Docker images to be used |
| 90 | images: |
Matteo Scandolo | ccea27b | 2020-03-18 15:25:05 -0700 | [diff] [blame] | 91 | ofagent_go: |
| 92 | registry: '{{ .Values.defaults.image_registry }}' |
Matteo Scandolo | fc5661e | 2020-03-23 11:38:15 -0700 | [diff] [blame] | 93 | repository: '{{ .Values.defaults.image_org }}voltha-ofagent-go' |
Zack Williams | c6202fe | 2020-03-26 10:55:40 -0700 | [diff] [blame] | 94 | tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}1.1.6{{- end }}{{- else }}1.1.6{{- end }}' |
Matteo Scandolo | ccea27b | 2020-03-18 15:25:05 -0700 | [diff] [blame] | 95 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |
| 96 | |
| 97 | ofagent_py: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 98 | registry: '{{ .Values.defaults.image_registry }}' |
Matteo Scandolo | fc5661e | 2020-03-23 11:38:15 -0700 | [diff] [blame] | 99 | repository: '{{ .Values.defaults.image_org }}voltha-ofagent-py' |
| 100 | tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.2.7{{- end }}{{- else }}2.2.7{{- end }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 101 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 102 | |
| 103 | rw_core: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 104 | registry: '{{ .Values.defaults.image_registry }}' |
| 105 | repository: '{{ .Values.defaults.image_org }}voltha-rw-core' |
serkant.uluderya | cb549df | 2020-03-29 16:19:13 -0700 | [diff] [blame] | 106 | tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.4.0{{- end }}{{- else }}2.4.0{{- end }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 107 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |