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. |
| 14 | |
| 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 |
| 19 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 20 | # Default overrides |
| 21 | defaults: |
David Bainbridge | 50cb1ef | 2019-07-23 22:36:17 +0000 | [diff] [blame] | 22 | log_level: "ERROR" |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 23 | image_registry: '' |
| 24 | image_tag: '{{ .Chart.AppVersion }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 25 | image_org: "voltha/" |
| 26 | image_pullPolicy: "Always" |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 27 | rw_core: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 28 | timeout: "8000" |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 29 | |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 30 | # Configure the Kafka sub-chart (if it is used) |
| 31 | kafka: |
| 32 | configurationOverrides: |
| 33 | "offsets.topic.replication.factor": 1 |
| 34 | "log.retention.hours": 4 |
| 35 | "log.message.timestamp.type": "LogAppendTime" |
| 36 | persistence: |
| 37 | enabled: false |
| 38 | zookeeper: |
| 39 | replicaCount: 1 |
| 40 | persistence: |
| 41 | enabled: false |
| 42 | replicas: 1 |
| 43 | |
| 44 | # Define connectivity to services on which VOLTHA depends |
| 45 | services: |
| 46 | kafka: |
| 47 | adapter: |
| 48 | service: voltha-kafka.voltha.svc.cluster.local |
| 49 | port: 9092 |
| 50 | cluster: |
| 51 | service: voltha-kafka.voltha.svc.cluster.local |
| 52 | port: 9092 |
| 53 | |
| 54 | # Define connectivity to etcd |
| 55 | etcd: |
| 56 | service: voltha-etcd-cluster-client.voltha.svc.cluster.local |
| 57 | port: 2379 |
| 58 | |
| 59 | # Define controller to which to connect |
| 60 | controller: |
| 61 | service: onos-openflow.default.svc.cluster.local |
| 62 | port: 6653 |
| 63 | |
| 64 | # Define the recplica count for everything |
| 65 | replicas: |
| 66 | # For R/W cores the templates translate the number of replicas |
| 67 | # into the number of RW core pairs with two pods per pair |
| 68 | rw_core: 1 |
| 69 | |
| 70 | # For everything else replicas are replicas |
| 71 | cli: 1 |
| 72 | ofagent: 1 |
| 73 | ro_core: 1 |
| 74 | afrouter: 1 |
| 75 | afrouterd: 1 |
| 76 | |
David Bainbridge | 50cb1ef | 2019-07-23 22:36:17 +0000 | [diff] [blame] | 77 | ro_core: |
| 78 | log_level: '{{ .Values.defaults.log_level }}' |
| 79 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 80 | rw_core: |
David Bainbridge | 50cb1ef | 2019-07-23 22:36:17 +0000 | [diff] [blame] | 81 | log_level: '{{ .Values.defaults.log_level }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 82 | core_timeout: '{{ .Values.defaults.rw_core.timeout }}' |
| 83 | timeout_long_request: '{{ .Values.defaults.rw_core.timeout }}' |
| 84 | timeout_request: '{{ .Values.defaults.rw_core.timeout }}' |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 85 | |
| 86 | |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 87 | # Define Docker images to be used |
| 88 | images: |
| 89 | cli: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 90 | registry: '{{ .Values.defaults.image_registry }}' |
| 91 | repository: '{{ .Values.defaults.image_org }}voltha-cli' |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 92 | tag: '{{ .Values.defaults.image_tag }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 93 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 94 | |
| 95 | ofagent: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 96 | registry: '{{ .Values.defaults.image_registry }}' |
| 97 | repository: '{{ .Values.defaults.image_org }}voltha-ofagent' |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 98 | tag: '{{ .Values.defaults.image_tag }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 99 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 100 | |
| 101 | ro_core: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 102 | registry: '{{ .Values.defaults.image_registry }}' |
| 103 | repository: '{{ .Values.defaults.image_org }}voltha-ro-core' |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 104 | tag: '{{ .Values.defaults.image_tag }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 105 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 106 | |
| 107 | rw_core: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 108 | registry: '{{ .Values.defaults.image_registry }}' |
| 109 | repository: '{{ .Values.defaults.image_org }}voltha-rw-core' |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 110 | tag: '{{ .Values.defaults.image_tag }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 111 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 112 | |
| 113 | afrouter: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 114 | registry: '{{ .Values.defaults.image_registry }}' |
| 115 | repository: '{{ .Values.defaults.image_org }}voltha-afrouter' |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 116 | tag: '{{ .Values.defaults.image_tag }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 117 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 118 | |
| 119 | afrouterd: |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 120 | registry: '{{ .Values.defaults.image_registry }}' |
| 121 | repository: '{{ .Values.defaults.image_org }}voltha-afrouterd' |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 122 | tag: '{{ .Values.defaults.image_tag }}' |
Kent Hagerman | 42101a8 | 2019-06-12 12:52:39 -0400 | [diff] [blame] | 123 | pullPolicy: '{{ .Values.defaults.image_pullPolicy }}' |
David Bainbridge | 2f9b76f | 2019-05-15 13:48:11 -0700 | [diff] [blame] | 124 | restartPolicy: 'Always' |