blob: 972304729301474ca18dcaced103bbcb2c750121 [file] [log] [blame]
David K. Bainbridge4ecc1262019-07-01 13:39:11 -07001# Copyright 2019 Ciena Corporation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
David Bainbridge90fd8e32019-08-21 23:32:47 +000015# IMAGE SELECTION
16# ---------------
17# By default no defaults are set and the image tags specified in the helm
18# charts will be used. If you would like to use the images generated from the
19# HEAD of the "master" git branches, then uncomment this below block and
Matteo Scandolodcd29f52019-10-07 15:42:42 -070020# set "<VALUE>" to "master". Similarly, if you want to use the images
David Bainbridge90fd8e32019-08-21 23:32:47 +000021# generated from the HEAD of the "voltha-2.1" git branches, then uncomment
22# this block and replace "<VALUE>" with "voltha-2.1".
David Bainbridge801a0ec2019-09-26 15:48:06 +000023defaults:
Andy Bavier8fe14e02019-10-16 09:57:27 -070024 image_tag: master
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070025
David Bainbridgee10f6d52019-07-25 00:28:13 +000026images:
David Bainbridgeac7f8072019-08-01 22:15:33 +000027 onos:
David Bainbridged31d6122019-08-13 19:37:59 +000028 repository: voltha/voltha-onos
David Bainbridge90fd8e32019-08-21 23:32:47 +000029 # IMAGE_SELECTION
30 # ---------------
31 # The helm chart used to deploy ONOS is the public ONOS helm chart so,
32 # there is a need to specify the exact image repository and image tag.
Matteo Scandolodcd29f52019-10-07 15:42:42 -070033 # If you would like to use the "master", "voltha-2.1", or other image
David Bainbridge90fd8e32019-08-21 23:32:47 +000034 # just replace the "tag" value below.
Andy Bavier8fe14e02019-10-16 09:57:27 -070035 tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000036
37# IMAGE_SELECTION
38# ---------------
39# Below are a list of all the images utilized by kind-voltha. This list is
40# provided as a conveinence if you would like to override on a per image
41# basis. If you are using the defaults, master, or voltha-2.1 branch there
42# is no need to utilize this list.
David Bainbridge90fd8e32019-08-21 23:32:47 +000043# adapter_open_olt:
David Bainbridgebb32bc12019-08-23 22:54:49 +000044# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000045# tag: 2.1.1
46# adapter_open_onu:
David Bainbridgebb32bc12019-08-23 22:54:49 +000047# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000048# tag: 2.1.0
Andy Bavier8fe14e02019-10-16 09:57:27 -070049# adapter_simulated_olt:
50# repository: voltha/voltha-adapter-simulated-olt
51# tag: master
52# adapter_simulated_onu:
53# repository: voltha/voltha-adapter-simulated-onu
54# tag: master
55# bbsim:
56# repository: voltha/bbsim
57# tag: master
58# afrouter:
59# repository: voltha/voltha-afrouter
60# tag: master
61# afrouterd:
62# repository: voltha/voltha-afrouterd
63# tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000064# cli:
David Bainbridgebb32bc12019-08-23 22:54:49 +000065# repository: voltha/voltha-cli
David Bainbridge90fd8e32019-08-21 23:32:47 +000066# tag: 2.1.1
67# ofagent:
David Bainbridgebb32bc12019-08-23 22:54:49 +000068# repository: voltha/voltha-ofagent
David Bainbridge90fd8e32019-08-21 23:32:47 +000069# tag: 2.1.1
70# ro_core:
David Bainbridgebb32bc12019-08-23 22:54:49 +000071# repository: voltha/voltha-ro-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000072# tag: 2.1.1
73# rw_core:
David Bainbridgebb32bc12019-08-23 22:54:49 +000074# repository: voltha/voltha-rw-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000075# tag: 2.1.1
David Bainbridgee10f6d52019-07-25 00:28:13 +000076
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070077deployments:
78 etcdOperator: true
79 backupOperator: false
80 restoreOperator: false
81
82voltha-etcd-cluster:
83 clusterSize: 1
David Bainbridgebb32bc12019-08-23 22:54:49 +000084 autoCompactionRetention: 1
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070085
86onos_env:
87- name: POD_IP
88 valueFrom:
89 fieldRef:
90 fieldPath: status.podIP
91- name: NAMESPACE
92 valueFrom:
93 fieldRef:
94 fieldPath: metadata.namespace
95- name: ONOS_APPS
96 value: "drivers,openflow-base,hostprovider"
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -070097
98# Customization for BBSIM
99kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
David Bainbridge7831a662019-07-25 18:12:25 +0000100pon_ports: 1
101onus_per_pon_port: 1
Matteo Scandolo38b98ce2019-11-04 07:57:42 -0800102auth: true
103dhcp: true
David Bainbridge4974fcb2019-08-31 02:24:50 +0000104
105# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
106# The VOLTHA charts have support for adding extra labels to deployments and
107# pods. These extra labels can be used to integrate with other utilities
108# such as kube-monkey to add a bit of chaos to the cluster. Below are some
109# settings that can be uncommented to opt-in VOLTHA deployments/pods to
110# kube-monkey. For example, if you want ALL deployments and pods to opt-in
111# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
112# If you want to be more selected then comment the blocks that pertain to the
113# targets you care about.
114
115#extra_deployment_labels:
116# kube-monkey/enabled: enabled
117# kube-monkey/identifier: monkey-victim
118# kube-monkey/mtbf: 1
119# kube-monkey/kill-mode: fixed
120# kube-monkey/kill-value: 1
121#
122#extra_pod_labels:
123# kube-monkey/enabled: enabled
124# kube-monkey/identifier: monkey-victim
125# kube-monkey/mtbf: 1
126# kube-monkey/kill-mode: fixed
127# kube-monkey/kill-value: 1
128#
129#rw_core_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
135#
136#rw_core_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
142#
143#ro_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
149#
150#ro_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
156#
David Bainbridge801a0ec2019-09-26 15:48:06 +0000157#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
163#
164#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
170#
David Bainbridge4974fcb2019-08-31 02:24:50 +0000171#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
177#
178#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
184#
185#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
191#
192#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
198#
199#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
205#
206#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
212#
213#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
219#
220#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