blob: 944dd9e03825d57eda146272f375fbcc04126c5c [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 K. Bainbridgee3016f72020-01-30 09:48:34 -080028# OFAGENT IMPLEMENTATION
29# ----------------------
30# There are currently two implementations of OFAGENT: the original written in
31# Python and the reimplementation written in Go. The variable `use_ofagent_go`
David Bainbridgefce8af42020-03-17 12:50:39 -070032# can be used to optionally select the implementation. The Go version is the
33# version to be part of the official release and is the default. The Python
34# verison has been deprecated and is no longer being actively workes, but is
35# being left as an option for this release.
36#
37# Along with this change you will also may need to set the Docker image
38# information below (search for START_OFAGENT_GO).
39use_ofagent_go: true
David K. Bainbridgee3016f72020-01-30 09:48:34 -080040
Holger Hildebrandt03ca7692020-04-14 10:55:43 +000041# OPENONU-ADAPTER IMPLEMENTATION
42# ------------------------------
43# There are currently two implementations of OPENONU-ADAPTER: the original
44# written in Python and the reimplementation written in Go. The variable
45# `use_openonu_adapter_go` can be used to optionally use the new Go
46# implementation. This is done by setting that value to `true`.
47#
48# Along with this change you will also may need to set the Docker image
49# information below (search for START_OPENONU_ADAPTER_GO).
50use_openonu_adapter_go: false
51
David Bainbridgee10f6d52019-07-25 00:28:13 +000052images:
David Bainbridgeac7f8072019-08-01 22:15:33 +000053 onos:
David Bainbridged31d6122019-08-13 19:37:59 +000054 repository: voltha/voltha-onos
David Bainbridge90fd8e32019-08-21 23:32:47 +000055 # IMAGE_SELECTION
56 # ---------------
57 # The helm chart used to deploy ONOS is the public ONOS helm chart so,
58 # there is a need to specify the exact image repository and image tag.
Matteo Scandolodcd29f52019-10-07 15:42:42 -070059 # If you would like to use the "master", "voltha-2.1", or other image
David Bainbridge90fd8e32019-08-21 23:32:47 +000060 # just replace the "tag" value below.
Andy Bavier8fe14e02019-10-16 09:57:27 -070061 tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000062
63# IMAGE_SELECTION
64# ---------------
65# Below are a list of all the images utilized by kind-voltha. This list is
66# provided as a conveinence if you would like to override on a per image
67# basis. If you are using the defaults, master, or voltha-2.1 branch there
68# is no need to utilize this list.
David Bainbridge90fd8e32019-08-21 23:32:47 +000069# adapter_open_olt:
David Bainbridgebb32bc12019-08-23 22:54:49 +000070# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000071# tag: 2.1.1
72# adapter_open_onu:
David Bainbridgebb32bc12019-08-23 22:54:49 +000073# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000074# tag: 2.1.0
Andy Bavier8fe14e02019-10-16 09:57:27 -070075# adapter_simulated_olt:
76# repository: voltha/voltha-adapter-simulated-olt
David Bainbridgefce8af42020-03-17 12:50:39 -070077# tag: 2.1.1
Andy Bavier8fe14e02019-10-16 09:57:27 -070078# adapter_simulated_onu:
79# repository: voltha/voltha-adapter-simulated-onu
David Bainbridgefce8af42020-03-17 12:50:39 -070080# tag: 2.1.1
Andy Bavier8fe14e02019-10-16 09:57:27 -070081# bbsim:
82# repository: voltha/bbsim
83# tag: master
David Bainbridgefce8af42020-03-17 12:50:39 -070084# START_OFAGENT_GO - Comment the following block to use the Python implementation
David K. Bainbridgee3016f72020-01-30 09:48:34 -080085# of the ofagent
David Bainbridge6ca40102020-04-08 11:30:40 -070086# ofagent_go:
David Bainbridge52e6e9d2020-03-23 13:48:27 -070087# repository: voltha/voltha-ofagent-go
88# tag: master
David K. Bainbridgee3016f72020-01-30 09:48:34 -080089# END_OFAGENT_GO
David Bainbridge6ca40102020-04-08 11:30:40 -070090# ofagent_py:
David Bainbridge52e6e9d2020-03-23 13:48:27 -070091# repository: voltha/voltha-ofagent-py
David Bainbridge90fd8e32019-08-21 23:32:47 +000092# tag: 2.1.1
93# rw_core:
David Bainbridgebb32bc12019-08-23 22:54:49 +000094# repository: voltha/voltha-rw-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000095# tag: 2.1.1
Holger Hildebrandt03ca7692020-04-14 10:55:43 +000096# START_OPENONU_ADAPTER_GO - Uncomment the following block to use the Go implementation
97# of the openonu-adapter
98# adapter_open_onu_go:
99# repository: voltha-openonu-adapter-go
100# tag: master
101# END_OPENONU_ADAPTER_GO
David Bainbridgee10f6d52019-07-25 00:28:13 +0000102
David K. Bainbridge4ecc1262019-07-01 13:39:11 -0700103deployments:
104 etcdOperator: true
105 backupOperator: false
106 restoreOperator: false
107
108voltha-etcd-cluster:
109 clusterSize: 1
David Bainbridgebb32bc12019-08-23 22:54:49 +0000110 autoCompactionRetention: 1
David K. Bainbridge4ecc1262019-07-01 13:39:11 -0700111
David Bainbridgefce8af42020-03-17 12:50:39 -0700112kafka:
113 configurationOverrides:
114 "default.replication.factor": 1
115 "offsets.topic.replication.factor": 1
116 replicas: 1
117
David K. Bainbridge4ecc1262019-07-01 13:39:11 -0700118onos_env:
Zack Williamsded60cb2020-04-13 10:02:20 -0700119 - name: POD_IP
120 valueFrom:
121 fieldRef:
122 fieldPath: status.podIP
123 - name: NAMESPACE
124 valueFrom:
125 fieldRef:
126 fieldPath: metadata.namespace
127 - name: ONOS_APPS
128 value: "drivers,openflow-base,hostprovider"
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700129
Andrea Campanella7e30faf2020-05-05 13:26:05 +0200130# No persistent volume in Atomix to have clean state for each re-deploy of ONOS
131atomix:
132 persistence:
133 enabled: false
134
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700135# Customization for BBSIM
136kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
Hardik Windlass678cafb2020-02-11 15:34:37 +0000137pon: 1
138onu: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000139
140# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
141# The VOLTHA charts have support for adding extra labels to deployments and
142# pods. These extra labels can be used to integrate with other utilities
143# such as kube-monkey to add a bit of chaos to the cluster. Below are some
144# settings that can be uncommented to opt-in VOLTHA deployments/pods to
145# kube-monkey. For example, if you want ALL deployments and pods to opt-in
146# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
147# If you want to be more selected then comment the blocks that pertain to the
148# targets you care about.
149
Zack Williamsded60cb2020-04-13 10:02:20 -0700150# extra_deployment_labels:
151# kube-monkey/enabled: enabled
152# kube-monkey/identifier: monkey-victim
153# kube-monkey/mtbf: 1
154# kube-monkey/kill-mode: fixed
155# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000156#
Zack Williamsded60cb2020-04-13 10:02:20 -0700157# extra_pod_labels:
158# kube-monkey/enabled: enabled
159# kube-monkey/identifier: monkey-victim
160# kube-monkey/mtbf: 1
161# kube-monkey/kill-mode: fixed
162# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000163#
Zack Williamsded60cb2020-04-13 10:02:20 -0700164# rw_core_deployment_labels:
165# kube-monkey/enabled: enabled
166# kube-monkey/identifier: monkey-victim
167# kube-monkey/mtbf: 1
168# kube-monkey/kill-mode: fixed
169# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000170#
Zack Williamsded60cb2020-04-13 10:02:20 -0700171# rw_core_pod_labels:
172# kube-monkey/enabled: enabled
173# kube-monkey/identifier: monkey-victim
174# kube-monkey/mtbf: 1
175# kube-monkey/kill-mode: fixed
176# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000177#
Zack Williamsded60cb2020-04-13 10:02:20 -0700178# ofagent_deployment_labels:
179# kube-monkey/enabled: enabled
180# kube-monkey/identifier: monkey-victim
181# kube-monkey/mtbf: 1
182# kube-monkey/kill-mode: fixed
183# kube-monkey/kill-value: 1
David Bainbridge801a0ec2019-09-26 15:48:06 +0000184#
Zack Williamsded60cb2020-04-13 10:02:20 -0700185# ofagent_pod_labels:
186# kube-monkey/enabled: enabled
187# kube-monkey/identifier: monkey-victim
188# kube-monkey/mtbf: 1
189# kube-monkey/kill-mode: fixed
190# kube-monkey/kill-value: 1
David Bainbridge801a0ec2019-09-26 15:48:06 +0000191#
Zack Williamsded60cb2020-04-13 10:02:20 -0700192# openolt_deployment_labels:
193# kube-monkey/enabled: enabled
194# kube-monkey/identifier: monkey-victim
195# kube-monkey/mtbf: 1
196# kube-monkey/kill-mode: fixed
197# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000198#
Zack Williamsded60cb2020-04-13 10:02:20 -0700199# openolt_pod_labels:
200# kube-monkey/enabled: enabled
201# kube-monkey/identifier: monkey-victim
202# kube-monkey/mtbf: 1
203# kube-monkey/kill-mode: fixed
204# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000205#
Zack Williamsded60cb2020-04-13 10:02:20 -0700206# openonu_deployment_labels:
207# kube-monkey/enabled: enabled
208# kube-monkey/identifier: monkey-victim
209# kube-monkey/mtbf: 1
210# kube-monkey/kill-mode: fixed
211# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000212#
Zack Williamsded60cb2020-04-13 10:02:20 -0700213# openonu_pod_labels:
214# kube-monkey/enabled: enabled
215# kube-monkey/identifier: monkey-victim
216# kube-monkey/mtbf: 1
217# kube-monkey/kill-mode: fixed
218# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000219#
Zack Williamsded60cb2020-04-13 10:02:20 -0700220# simolt_deployment_labels:
221# kube-monkey/enabled: enabled
222# kube-monkey/identifier: monkey-victim
223# kube-monkey/mtbf: 1
224# kube-monkey/kill-mode: fixed
225# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000226#
Zack Williamsded60cb2020-04-13 10:02:20 -0700227# simolt_pod_labels:
228# kube-monkey/enabled: enabled
229# kube-monkey/identifier: monkey-victim
230# kube-monkey/mtbf: 1
231# kube-monkey/kill-mode: fixed
232# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000233#
Zack Williamsded60cb2020-04-13 10:02:20 -0700234# simonu_deployment_labels:
235# kube-monkey/enabled: enabled
236# kube-monkey/identifier: monkey-victim
237# kube-monkey/mtbf: 1
238# kube-monkey/kill-mode: fixed
239# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000240#
Zack Williamsded60cb2020-04-13 10:02:20 -0700241# simonu_pod_labels:
242# kube-monkey/enabled: enabled
243# kube-monkey/identifier: monkey-victim
244# kube-monkey/mtbf: 1
245# kube-monkey/kill-mode: fixed
246# kube-monkey/kill-value: 1