blob: c3194326d743249d37c9f41ec7bcc640f89b52f2 [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 Scandolo209547b2019-11-01 14:48:15 -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 Bainbridge70c0ea82019-11-14 23:25:26 +000024defaults:
25 image_tag: master
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070026
David Bainbridgefce8af42020-03-17 12:50:39 -070027# OFAGENT IMPLEMENTATION
28# ----------------------
29# There are currently two implementations of OFAGENT: the original written in
30# Python and the reimplementation written in Go. The variable `use_ofagent_go`
31# can be used to optionally select the implementation. The Go version is the
32# version to be part of the official release and is the default. The Python
33# verison has been deprecated and is no longer being actively workes, but is
34# being left as an option for this release.
35#
36# Along with this change you will also may need to set the Docker image
37# information below (search for START_OFAGENT_GO).
38use_ofagent_go: true
39
David Bainbridgee10f6d52019-07-25 00:28:13 +000040images:
David Bainbridged31d6122019-08-13 19:37:59 +000041 onos:
David Bainbridged31d6122019-08-13 19:37:59 +000042 repository: voltha/voltha-onos
David Bainbridge90fd8e32019-08-21 23:32:47 +000043 # IMAGE_SELECTION
44 # ---------------
45 # The helm chart used to deploy ONOS is the public ONOS helm chart so,
46 # there is a need to specify the exact image repository and image tag.
Matteo Scandolo209547b2019-11-01 14:48:15 -070047 # If you would like to use the "master", "voltha-2.1", or other image
David Bainbridge90fd8e32019-08-21 23:32:47 +000048 # just replace the "tag" value below.
David Bainbridge70c0ea82019-11-14 23:25:26 +000049 tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000050
51# IMAGE_SELECTION
52# ---------------
53# Below are a list of all the images utilized by kind-voltha. This list is
54# provided as a conveinence if you would like to override on a per image
55# basis. If you are using the defaults, master, or voltha-2.1 branch there
56# is no need to utilize this list.
David Bainbridge90fd8e32019-08-21 23:32:47 +000057# adapter_open_olt:
David Bainbridge4974fcb2019-08-31 02:24:50 +000058# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000059# tag: 2.1.1
60# adapter_open_onu:
David Bainbridge4974fcb2019-08-31 02:24:50 +000061# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000062# tag: 2.1.0
63# adapter_simulated_olt:
David Bainbridge4974fcb2019-08-31 02:24:50 +000064# repository: voltha/voltha-adapter-simulated-olt
David Bainbridge90fd8e32019-08-21 23:32:47 +000065# tag: 2.1.1
David Bainbridge4974fcb2019-08-31 02:24:50 +000066# adapter_simulated_onu:
67# repository: voltha/voltha-adapter-simulated-onu
David Bainbridge90fd8e32019-08-21 23:32:47 +000068# tag: 2.1.1
69# bbsim:
David Bainbridgefce8af42020-03-17 12:50:39 -070070# repository: voltha/bbsim
71# tag: master
72# START_OFAGENT_GO - Comment the following block to use the Python implementation
73# of the ofagent
David Bainbridge52e6e9d2020-03-23 13:48:27 -070074# ofagent:
75# repository: voltha/voltha-ofagent-go
76# tag: master
David Bainbridgefce8af42020-03-17 12:50:39 -070077# END_OFAGENT_GO
David Bainbridge90fd8e32019-08-21 23:32:47 +000078# ofagent:
David Bainbridge52e6e9d2020-03-23 13:48:27 -070079# repository: voltha/voltha-ofagent-py
David Bainbridge90fd8e32019-08-21 23:32:47 +000080# tag: 2.1.1
David Bainbridge90fd8e32019-08-21 23:32:47 +000081# rw_core:
David Bainbridge4974fcb2019-08-31 02:24:50 +000082# repository: voltha/voltha-rw-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000083# tag: 2.1.1
David Bainbridgee10f6d52019-07-25 00:28:13 +000084
David Bainbridgefce8af42020-03-17 12:50:39 -070085deployments:
86 etcdOperator: true
87 backupOperator: true
88 restoreOperator: true
89
90voltha-etcd-cluster:
91 clusterSize: 3
92 autoCompactionRetention: 1
93
94kafka:
95 configurationOverrides:
96 "default.replication.factor": 3
97 "offsets.topic.replication.factor": 3
98 replicas: 3
99
David K. Bainbridge4ecc1262019-07-01 13:39:11 -0700100onos_env:
Zack Williamsded60cb2020-04-13 10:02:20 -0700101 - name: POD_IP
102 valueFrom:
103 fieldRef:
104 fieldPath: status.podIP
105 - name: NAMESPACE
106 valueFrom:
107 fieldRef:
108 fieldPath: metadata.namespace
109 - name: ONOS_APPS
110 value: "drivers,openflow-base,hostprovider"
David K. Bainbridge4ecc1262019-07-01 13:39:11 -0700111
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700112# Customization for BBSIM
113kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
Matteo Scandolod267bb92020-02-13 10:47:44 -0800114pon: 1
115onu: 1
Matteo Scandolo38b98ce2019-11-04 07:57:42 -0800116auth: true
117dhcp: true
David Bainbridge4974fcb2019-08-31 02:24:50 +0000118
119# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
120# The VOLTHA charts have support for adding extra labels to deployments and
121# pods. These extra labels can be used to integrate with other utilities
122# such as kube-monkey to add a bit of chaos to the cluster. Below are some
123# settings that can be uncommented to opt-in VOLTHA deployments/pods to
124# kube-monkey. For example, if you want ALL deployments and pods to opt-in
125# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
126# If you want to be more selected then comment the blocks that pertain to the
127# targets you care about.
128
Zack Williamsded60cb2020-04-13 10:02:20 -0700129# extra_deployment_labels:
130# kube-monkey/enabled: enabled
131# kube-monkey/identifier: monkey-victim
132# kube-monkey/mtbf: 1
133# kube-monkey/kill-mode: fixed
134# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000135#
Zack Williamsded60cb2020-04-13 10:02:20 -0700136# extra_pod_labels:
137# kube-monkey/enabled: enabled
138# kube-monkey/identifier: monkey-victim
139# kube-monkey/mtbf: 1
140# kube-monkey/kill-mode: fixed
141# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000142#
Zack Williamsded60cb2020-04-13 10:02:20 -0700143# rw_core_deployment_labels:
144# kube-monkey/enabled: enabled
145# kube-monkey/identifier: monkey-victim
146# kube-monkey/mtbf: 1
147# kube-monkey/kill-mode: fixed
148# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000149#
Zack Williamsded60cb2020-04-13 10:02:20 -0700150# rw_core_pod_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# ofagent_deployment_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# ofagent_pod_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# openolt_deployment_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# openolt_pod_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 Bainbridge4974fcb2019-08-31 02:24:50 +0000184#
Zack Williamsded60cb2020-04-13 10:02:20 -0700185# openonu_deployment_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 Bainbridge4974fcb2019-08-31 02:24:50 +0000191#
Zack Williamsded60cb2020-04-13 10:02:20 -0700192# openonu_pod_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# simolt_deployment_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# simolt_pod_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# simonu_deployment_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# simonu_pod_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