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 | --- |
| 16 | registry: '' |
| 17 | serviceaccount: voltha-serviceaccount |
| 18 | private_etcd_cluster: true |
| 19 | private_kafka_cluster: true |
| 20 | |
| 21 | # Configure the Kafka sub-chart (if it is used) |
| 22 | kafka: |
| 23 | configurationOverrides: |
| 24 | "offsets.topic.replication.factor": 1 |
| 25 | "log.retention.hours": 4 |
| 26 | "log.message.timestamp.type": "LogAppendTime" |
| 27 | persistence: |
| 28 | enabled: false |
| 29 | zookeeper: |
| 30 | replicaCount: 1 |
| 31 | persistence: |
| 32 | enabled: false |
| 33 | replicas: 1 |
| 34 | |
| 35 | # Define connectivity to services on which VOLTHA depends |
| 36 | services: |
| 37 | kafka: |
| 38 | adapter: |
| 39 | service: voltha-kafka.voltha.svc.cluster.local |
| 40 | port: 9092 |
| 41 | cluster: |
| 42 | service: voltha-kafka.voltha.svc.cluster.local |
| 43 | port: 9092 |
| 44 | |
| 45 | # Define connectivity to etcd |
| 46 | etcd: |
| 47 | service: voltha-etcd-cluster-client.voltha.svc.cluster.local |
| 48 | port: 2379 |
| 49 | |
| 50 | # Define controller to which to connect |
| 51 | controller: |
| 52 | service: onos-openflow.default.svc.cluster.local |
| 53 | port: 6653 |
| 54 | |
| 55 | # Define the recplica count for everything |
| 56 | replicas: |
| 57 | # For R/W cores the templates translate the number of replicas |
| 58 | # into the number of RW core pairs with two pods per pair |
| 59 | rw_core: 1 |
| 60 | |
| 61 | # For everything else replicas are replicas |
| 62 | cli: 1 |
| 63 | ofagent: 1 |
| 64 | ro_core: 1 |
| 65 | afrouter: 1 |
| 66 | afrouterd: 1 |
| 67 | |
| 68 | # Define Docker images to be used |
| 69 | images: |
| 70 | cli: |
| 71 | repository: 'volthacore/voltha-cli' |
| 72 | tag: '{{ .Chart.AppVersion }}' |
| 73 | pullPolicy: 'Always' |
| 74 | |
| 75 | ofagent: |
| 76 | repository: 'volthacore/voltha-ofagent' |
| 77 | tag: '{{ .Chart.AppVersion }}' |
| 78 | pullPolicy: 'Always' |
| 79 | |
| 80 | ro_core: |
| 81 | repository: 'volthacore/voltha-ro-core' |
| 82 | tag: '{{ .Chart.AppVersion }}' |
| 83 | pullPolicy: 'Always' |
| 84 | |
| 85 | rw_core: |
| 86 | repository: 'volthacore/voltha-rw-core' |
| 87 | tag: '{{ .Chart.AppVersion }}' |
| 88 | pullPolicy: 'Always' |
| 89 | |
| 90 | afrouter: |
| 91 | repository: 'volthacore/voltha-afrouter' |
| 92 | tag: '{{ .Chart.AppVersion }}' |
| 93 | pullPolicy: 'Always' |
| 94 | |
| 95 | afrouterd: |
| 96 | repository: 'volthacore/voltha-afrouterd' |
| 97 | tag: '{{ .Chart.AppVersion }}' |
| 98 | pullPolicy: 'Always' |
| 99 | restartPolicy: 'Always' |