blob: 4a8463791e7f9e901c532131e496b4db68737f8e [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
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070069# Expose the golang pprof webserver, if enabled
70profiler:
71 enabled: false
72
David Bainbridge2f9b76f2019-05-15 13:48:11 -070073# Define the recplica count for everything
74replicas:
75 # For R/W cores the templates translate the number of replicas
76 # into the number of RW core pairs with two pods per pair
77 rw_core: 1
78
79 # For everything else replicas are replicas
David Bainbridge2f9b76f2019-05-15 13:48:11 -070080 ofagent: 1
David Bainbridge2f9b76f2019-05-15 13:48:11 -070081
David Bainbridge50cb1ef2019-07-23 22:36:17 +000082
David Bainbridgecd30e542019-05-31 20:52:56 +000083rw_core:
David Bainbridge50cb1ef2019-07-23 22:36:17 +000084 log_level: '{{ .Values.defaults.log_level }}'
Kent Hagerman42101a82019-06-12 12:52:39 -040085 core_timeout: '{{ .Values.defaults.rw_core.timeout }}'
86 timeout_long_request: '{{ .Values.defaults.rw_core.timeout }}'
87 timeout_request: '{{ .Values.defaults.rw_core.timeout }}'
David Bainbridgecd30e542019-05-31 20:52:56 +000088
David K. Bainbridge707022f2020-01-23 14:15:07 -080089ofagent:
hwchiuea1fb4d2020-02-11 19:50:14 +000090 log_level: '{{ .Values.defaults.log_level }}'
David K. Bainbridge707022f2020-01-23 14:15:07 -080091
David Bainbridgecd30e542019-05-31 20:52:56 +000092
David Bainbridge2f9b76f2019-05-15 13:48:11 -070093# Define Docker images to be used
94images:
Matteo Scandoloccea27b2020-03-18 15:25:05 -070095 ofagent_go:
96 registry: '{{ .Values.defaults.image_registry }}'
Matteo Scandolofc5661e2020-03-23 11:38:15 -070097 repository: '{{ .Values.defaults.image_org }}voltha-ofagent-go'
Neha Sharmae5767ea2020-04-08 13:39:57 +000098 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}1.2.0{{- end }}{{- else }}1.2.0{{- end }}'
Matteo Scandoloccea27b2020-03-18 15:25:05 -070099 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
100
101 ofagent_py:
Kent Hagerman42101a82019-06-12 12:52:39 -0400102 registry: '{{ .Values.defaults.image_registry }}'
Matteo Scandolofc5661e2020-03-23 11:38:15 -0700103 repository: '{{ .Values.defaults.image_org }}voltha-ofagent-py'
104 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 -0400105 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700106
107 rw_core:
Kent Hagerman42101a82019-06-12 12:52:39 -0400108 registry: '{{ .Values.defaults.image_registry }}'
109 repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
Neha Sharmae5767ea2020-04-08 13:39:57 +0000110 tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.4.1{{- end }}{{- else }}2.4.1{{- end }}'
Kent Hagerman42101a82019-06-12 12:52:39 -0400111 pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'