blob: 313d32d85f6ecada728fdaf9588e0a19447e06f8 [file] [log] [blame]
Zack Williamsc6202fe2020-03-26 10:55:40 -07001---
David Bainbridge2f9b76f2019-05-15 13:48:11 -07002# 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 Bainbridge2f9b76f2019-05-15 13:48:11 -070016serviceaccount: voltha-serviceaccount
17private_etcd_cluster: true
18private_kafka_cluster: true
Matteo Scandoloccea27b2020-03-18 15:25:05 -070019use_ofagent_go: true
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
Jonathan Hart3980b742020-04-20 11:00:54 -070064 # Define the list of controllers to connect to
David Bainbridge2f9b76f2019-05-15 13:48:11 -070065 controller:
Jonathan Hart3980b742020-04-20 11:00:54 -070066 - service: onos-openflow.default.svc.cluster.local
67 port: 6653
David Bainbridge2f9b76f2019-05-15 13:48:11 -070068
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:
Matteo Scandoloccea27b2020-03-18 15:25:05 -070091 ofagent_go:
92 registry: '{{ .Values.defaults.image_registry }}'
Matteo Scandolofc5661e2020-03-23 11:38:15 -070093 repository: '{{ .Values.defaults.image_org }}voltha-ofagent-go'
Zack Williamsc6202fe2020-03-26 10:55:40 -070094 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 Scandoloccea27b2020-03-18 15:25:05 -070095 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
96
97 ofagent_py:
Kent Hagerman42101a82019-06-12 12:52:39 -040098 registry: '{{ .Values.defaults.image_registry }}'
Matteo Scandolofc5661e2020-03-23 11:38:15 -070099 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 Hagerman42101a82019-06-12 12:52:39 -0400101 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700102
103 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -0400104 registry: '{{ .Values.defaults.image_registry }}'
105 repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
serkant.uluderyacb549df2020-03-29 16:19:13 -0700106 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 Hagerman42101a82019-06-12 12:52:39 -0400107 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'