blob: fd14728b17c55ef5e067569ab23256322513495c [file] [log] [blame]
Zack Williamsded60cb2020-04-13 10:02:20 -07001---
David K. Bainbridge4ecc1262019-07-01 13:39:11 -07002# Copyright 2019 Ciena Corporation
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 Bainbridge90fd8e32019-08-21 23:32:47 +000016# IMAGE SELECTION
17# ---------------
18# By default no defaults are set and the image tags specified in the helm
19# charts will be used. If you would like to use the images generated from the
20# HEAD of the "master" git branches, then uncomment this below block and
Matteo Scandolodcd29f52019-10-07 15:42:42 -070021# set "<VALUE>" to "master". Similarly, if you want to use the images
David Bainbridge90fd8e32019-08-21 23:32:47 +000022# generated from the HEAD of the "voltha-2.1" git branches, then uncomment
23# this block and replace "<VALUE>" with "voltha-2.1".
David Bainbridge801a0ec2019-09-26 15:48:06 +000024defaults:
Andy Bavier8fe14e02019-10-16 09:57:27 -070025 image_tag: master
Matteo Scandoloe0829b52020-05-08 14:23:56 -070026 image_pullPolicy: Always
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070027
David Bainbridgec7220622020-05-28 12:31:47 -070028private_etcd_cluster: false
29private_kafka_cluster: false
30
David K. Bainbridgee3016f72020-01-30 09:48:34 -080031# OFAGENT IMPLEMENTATION
32# ----------------------
33# There are currently two implementations of OFAGENT: the original written in
34# Python and the reimplementation written in Go. The variable `use_ofagent_go`
David Bainbridgefce8af42020-03-17 12:50:39 -070035# can be used to optionally select the implementation. The Go version is the
36# version to be part of the official release and is the default. The Python
37# verison has been deprecated and is no longer being actively workes, but is
38# being left as an option for this release.
39#
40# Along with this change you will also may need to set the Docker image
41# information below (search for START_OFAGENT_GO).
42use_ofagent_go: true
David K. Bainbridgee3016f72020-01-30 09:48:34 -080043
Holger Hildebrandt03ca7692020-04-14 10:55:43 +000044# OPENONU-ADAPTER IMPLEMENTATION
45# ------------------------------
46# There are currently two implementations of OPENONU-ADAPTER: the original
47# written in Python and the reimplementation written in Go. The variable
48# `use_openonu_adapter_go` can be used to optionally use the new Go
49# implementation. This is done by setting that value to `true`.
50#
51# Along with this change you will also may need to set the Docker image
52# information below (search for START_OPENONU_ADAPTER_GO).
53use_openonu_adapter_go: false
54
David Bainbridgee10f6d52019-07-25 00:28:13 +000055images:
David Bainbridgeac7f8072019-08-01 22:15:33 +000056 onos:
David Bainbridged31d6122019-08-13 19:37:59 +000057 repository: voltha/voltha-onos
David Bainbridge90fd8e32019-08-21 23:32:47 +000058 # IMAGE_SELECTION
59 # ---------------
60 # The helm chart used to deploy ONOS is the public ONOS helm chart so,
61 # there is a need to specify the exact image repository and image tag.
Matteo Scandolodcd29f52019-10-07 15:42:42 -070062 # If you would like to use the "master", "voltha-2.1", or other image
David Bainbridge90fd8e32019-08-21 23:32:47 +000063 # just replace the "tag" value below.
Andy Bavier8fe14e02019-10-16 09:57:27 -070064 tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000065
66# IMAGE_SELECTION
67# ---------------
68# Below are a list of all the images utilized by kind-voltha. This list is
69# provided as a conveinence if you would like to override on a per image
70# basis. If you are using the defaults, master, or voltha-2.1 branch there
71# is no need to utilize this list.
David Bainbridge90fd8e32019-08-21 23:32:47 +000072# adapter_open_olt:
David Bainbridgebb32bc12019-08-23 22:54:49 +000073# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000074# tag: 2.1.1
75# adapter_open_onu:
David Bainbridgebb32bc12019-08-23 22:54:49 +000076# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000077# tag: 2.1.0
Andy Bavier8fe14e02019-10-16 09:57:27 -070078# adapter_simulated_olt:
79# repository: voltha/voltha-adapter-simulated-olt
David Bainbridgefce8af42020-03-17 12:50:39 -070080# tag: 2.1.1
Andy Bavier8fe14e02019-10-16 09:57:27 -070081# adapter_simulated_onu:
82# repository: voltha/voltha-adapter-simulated-onu
David Bainbridgefce8af42020-03-17 12:50:39 -070083# tag: 2.1.1
Andy Bavier8fe14e02019-10-16 09:57:27 -070084# bbsim:
85# repository: voltha/bbsim
86# tag: master
David Bainbridgec7220622020-05-28 12:31:47 -070087# START_OFAGENT_GO - Comment the following block to use the Python
88# implementation of the ofagent
David Bainbridge6ca40102020-04-08 11:30:40 -070089# ofagent_go:
David Bainbridge52e6e9d2020-03-23 13:48:27 -070090# repository: voltha/voltha-ofagent-go
91# tag: master
David K. Bainbridgee3016f72020-01-30 09:48:34 -080092# END_OFAGENT_GO
David Bainbridge6ca40102020-04-08 11:30:40 -070093# ofagent_py:
David Bainbridge52e6e9d2020-03-23 13:48:27 -070094# repository: voltha/voltha-ofagent-py
David Bainbridge90fd8e32019-08-21 23:32:47 +000095# tag: 2.1.1
96# rw_core:
David Bainbridgebb32bc12019-08-23 22:54:49 +000097# repository: voltha/voltha-rw-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000098# tag: 2.1.1
David Bainbridgec7220622020-05-28 12:31:47 -070099# START_OPENONU_ADAPTER_GO - Uncomment the following block to use the
100# Go implementation of the openonu-adapter
Holger Hildebrandt03ca7692020-04-14 10:55:43 +0000101# adapter_open_onu_go:
102# repository: voltha-openonu-adapter-go
103# tag: master
104# END_OPENONU_ADAPTER_GO
David Bainbridgee10f6d52019-07-25 00:28:13 +0000105
David Bainbridgec7220622020-05-28 12:31:47 -0700106etcd:
107 replicas: 1
108 extraEnv:
109 - name: ETCD_AUTO_COMPACTION_RETENTION
110 value: "1"
111 - name: ETCD_SNAPSHOT_COUNT
112 value: "100000"
113 - name: ETCD_HEARTBEAT_INTERVAL
114 value: "100"
115 - name: ETCD_ELECTION_TIMEOUT
116 value: "1000"
117 - name: ETCD_MAX_SNAPSHOTS
118 value: "5"
119 - name: ETCD_QUOTA_BACKEND_BYTES
120 value: "0"
121 - name: ETCD_MAX_REQUEST_BYTES
122 value: "1572864"
123 - name: ETCD_GRPC_KEEPALIVE_MIN_TIME
124 value: "5s"
125 - name: ETCD_GRPC_KEEPALIVE_TIMEOUT
126 value: "5s"
127 - name: ETCD_DEBUG
128 value: "false"
David K. Bainbridge4ecc1262019-07-01 13:39:11 -0700129
David Bainbridgefce8af42020-03-17 12:50:39 -0700130kafka:
David Bainbridgec7220622020-05-28 12:31:47 -0700131 zookeeper:
132 replicaCount: 1
133 persistence:
134 enabled: false
David Bainbridgefce8af42020-03-17 12:50:39 -0700135 replicas: 1
David Bainbridgec7220622020-05-28 12:31:47 -0700136 persistence:
137 enabled: false
138 envOverrides:
139 KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR
140 KAFKA_TOOLS_LOG4J_LOGLEVEL: ERROR
141 # yamllint disable-line rule:line-length
142 KAFKA_LOG4J.LOGGERS: "kafka.zookeeper=ERROR,state.change.logger=ERROR,kafka=ERROR,kafka.controller=ERROR"
143 KAFKA_LOG_RETENTION_HOURS: 1
144 KAFKA_DEFAULT_REPLICATION_FACTOR: 1
145 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
David Bainbridgefce8af42020-03-17 12:50:39 -0700146
David K. Bainbridge4ecc1262019-07-01 13:39:11 -0700147onos_env:
Zack Williamsded60cb2020-04-13 10:02:20 -0700148 - name: POD_IP
149 valueFrom:
150 fieldRef:
151 fieldPath: status.podIP
152 - name: NAMESPACE
153 valueFrom:
154 fieldRef:
155 fieldPath: metadata.namespace
156 - name: ONOS_APPS
157 value: "drivers,openflow-base,hostprovider"
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700158
Andrea Campanella7e30faf2020-05-05 13:26:05 +0200159# No persistent volume in Atomix to have clean state for each re-deploy of ONOS
160atomix:
161 persistence:
162 enabled: false
163
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700164# Customization for BBSIM
165kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
Hardik Windlass678cafb2020-02-11 15:34:37 +0000166pon: 1
167onu: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000168
169# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
170# The VOLTHA charts have support for adding extra labels to deployments and
171# pods. These extra labels can be used to integrate with other utilities
172# such as kube-monkey to add a bit of chaos to the cluster. Below are some
173# settings that can be uncommented to opt-in VOLTHA deployments/pods to
174# kube-monkey. For example, if you want ALL deployments and pods to opt-in
175# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
176# If you want to be more selected then comment the blocks that pertain to the
177# targets you care about.
178
Zack Williamsded60cb2020-04-13 10:02:20 -0700179# extra_deployment_labels:
180# kube-monkey/enabled: enabled
181# kube-monkey/identifier: monkey-victim
182# kube-monkey/mtbf: 1
183# kube-monkey/kill-mode: fixed
184# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000185#
Zack Williamsded60cb2020-04-13 10:02:20 -0700186# extra_pod_labels:
187# kube-monkey/enabled: enabled
188# kube-monkey/identifier: monkey-victim
189# kube-monkey/mtbf: 1
190# kube-monkey/kill-mode: fixed
191# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000192#
Zack Williamsded60cb2020-04-13 10:02:20 -0700193# rw_core_deployment_labels:
194# kube-monkey/enabled: enabled
195# kube-monkey/identifier: monkey-victim
196# kube-monkey/mtbf: 1
197# kube-monkey/kill-mode: fixed
198# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000199#
Zack Williamsded60cb2020-04-13 10:02:20 -0700200# rw_core_pod_labels:
201# kube-monkey/enabled: enabled
202# kube-monkey/identifier: monkey-victim
203# kube-monkey/mtbf: 1
204# kube-monkey/kill-mode: fixed
205# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000206#
Zack Williamsded60cb2020-04-13 10:02:20 -0700207# ofagent_deployment_labels:
208# kube-monkey/enabled: enabled
209# kube-monkey/identifier: monkey-victim
210# kube-monkey/mtbf: 1
211# kube-monkey/kill-mode: fixed
212# kube-monkey/kill-value: 1
David Bainbridge801a0ec2019-09-26 15:48:06 +0000213#
Zack Williamsded60cb2020-04-13 10:02:20 -0700214# ofagent_pod_labels:
215# kube-monkey/enabled: enabled
216# kube-monkey/identifier: monkey-victim
217# kube-monkey/mtbf: 1
218# kube-monkey/kill-mode: fixed
219# kube-monkey/kill-value: 1
David Bainbridge801a0ec2019-09-26 15:48:06 +0000220#
Zack Williamsded60cb2020-04-13 10:02:20 -0700221# openolt_deployment_labels:
222# kube-monkey/enabled: enabled
223# kube-monkey/identifier: monkey-victim
224# kube-monkey/mtbf: 1
225# kube-monkey/kill-mode: fixed
226# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000227#
Zack Williamsded60cb2020-04-13 10:02:20 -0700228# openolt_pod_labels:
229# kube-monkey/enabled: enabled
230# kube-monkey/identifier: monkey-victim
231# kube-monkey/mtbf: 1
232# kube-monkey/kill-mode: fixed
233# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000234#
Zack Williamsded60cb2020-04-13 10:02:20 -0700235# openonu_deployment_labels:
236# kube-monkey/enabled: enabled
237# kube-monkey/identifier: monkey-victim
238# kube-monkey/mtbf: 1
239# kube-monkey/kill-mode: fixed
240# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000241#
Zack Williamsded60cb2020-04-13 10:02:20 -0700242# openonu_pod_labels:
243# kube-monkey/enabled: enabled
244# kube-monkey/identifier: monkey-victim
245# kube-monkey/mtbf: 1
246# kube-monkey/kill-mode: fixed
247# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000248#
Zack Williamsded60cb2020-04-13 10:02:20 -0700249# simolt_deployment_labels:
250# kube-monkey/enabled: enabled
251# kube-monkey/identifier: monkey-victim
252# kube-monkey/mtbf: 1
253# kube-monkey/kill-mode: fixed
254# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000255#
Zack Williamsded60cb2020-04-13 10:02:20 -0700256# simolt_pod_labels:
257# kube-monkey/enabled: enabled
258# kube-monkey/identifier: monkey-victim
259# kube-monkey/mtbf: 1
260# kube-monkey/kill-mode: fixed
261# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000262#
Zack Williamsded60cb2020-04-13 10:02:20 -0700263# simonu_deployment_labels:
264# kube-monkey/enabled: enabled
265# kube-monkey/identifier: monkey-victim
266# kube-monkey/mtbf: 1
267# kube-monkey/kill-mode: fixed
268# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000269#
Zack Williamsded60cb2020-04-13 10:02:20 -0700270# simonu_pod_labels:
271# kube-monkey/enabled: enabled
272# kube-monkey/identifier: monkey-victim
273# kube-monkey/mtbf: 1
274# kube-monkey/kill-mode: fixed
275# kube-monkey/kill-value: 1