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