blob: 8f526281b1d1219e91b6d8e87f6173cab2147b2d [file] [log] [blame]
David Bainbridge2f9b76f2019-05-15 13:48:11 -07001# 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 Bainbridge2f9b76f2019-05-15 13:48:11 -070016serviceaccount: voltha-serviceaccount
17private_etcd_cluster: true
18private_kafka_cluster: true
David K. Bainbridge707022f2020-01-23 14:15:07 -080019use_ofagent_go: false
David Bainbridge2f9b76f2019-05-15 13:48:11 -070020
David Bainbridge60332ae2019-10-11 15:04:13 +000021# Default Values
22# The following are the default values used for every container in the
23# template.
David Bainbridgecd30e542019-05-31 20:52:56 +000024defaults:
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080025 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000026 image_registry: ''
Kent Hagerman42101a82019-06-12 12:52:39 -040027 image_org: "voltha/"
David Bainbridge60332ae2019-10-11 15:04:13 +000028 image_tag: ~
Kent Hagerman42101a82019-06-12 12:52:39 -040029 image_pullPolicy: "Always"
David Bainbridgecd30e542019-05-31 20:52:56 +000030 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -040031 timeout: "8000"
David Bainbridgecd30e542019-05-31 20:52:56 +000032
David Bainbridge2f9b76f2019-05-15 13:48:11 -070033# Configure the Kafka sub-chart (if it is used)
34kafka:
35 configurationOverrides:
Girish Kumar1c3f8aa2020-03-09 12:09:11 +000036 # Increase replication factor along with Replicas for HA
37 "default.replication.factor": 1
David Bainbridge2f9b76f2019-05-15 13:48:11 -070038 "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
50services:
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
64 # Define controller to which to connect
65 controller:
66 service: onos-openflow.default.svc.cluster.local
67 port: 6653
68
69# Define the recplica count for everything
70replicas:
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 Bainbridge2f9b76f2019-05-15 13:48:11 -070076 ofagent: 1
David Bainbridge2f9b76f2019-05-15 13:48:11 -070077
David Bainbridge50cb1ef2019-07-23 22:36:17 +000078
David Bainbridgecd30e542019-05-31 20:52:56 +000079rw_core:
David Bainbridge50cb1ef2019-07-23 22:36:17 +000080 log_level: '{{ .Values.defaults.log_level }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040081 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 Bainbridgecd30e542019-05-31 20:52:56 +000084
David K. Bainbridge707022f2020-01-23 14:15:07 -080085ofagent:
hwchiuea1fb4d2020-02-11 19:50:14 +000086 log_level: '{{ .Values.defaults.log_level }}'
David K. Bainbridge707022f2020-01-23 14:15:07 -080087
David Bainbridgecd30e542019-05-31 20:52:56 +000088
David Bainbridge2f9b76f2019-05-15 13:48:11 -070089# Define Docker images to be used
90images:
David Bainbridge2f9b76f2019-05-15 13:48:11 -070091 ofagent:
Kent Hagerman42101a82019-06-12 12:52:39 -040092 registry: '{{ .Values.defaults.image_registry }}'
93 repository: '{{ .Values.defaults.image_org }}voltha-ofagent'
Scott Baker1cbd70e2020-02-19 10:22:50 -080094 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.2.4{{- end }}{{- else }}2.2.4{{- end }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040095 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -070096
97 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -040098 registry: '{{ .Values.defaults.image_registry }}'
99 repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
Rohan Agrawal250ec822020-01-14 12:16:18 +0000100 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.3.2{{- end }}{{- else }}2.3.2{{- end }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400101 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700102