blob: 7d439d3275ecdd8be852d4f897d6f2cb26526b6a [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
20# set "<VALUE>" to "master". Similarly, if you want to use the images
21# 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:
24 image_tag: voltha-2.1
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.
33 # If you would like to use the "master", "voltha-2.1", or other image
34 # just replace the "tag" value below.
David Bainbridge801a0ec2019-09-26 15:48:06 +000035 tag: voltha-2.1
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
49# adapter_simulated_olt:
David Bainbridgebb32bc12019-08-23 22:54:49 +000050# repository: voltha/voltha-adapter-simulated-olt
David Bainbridge90fd8e32019-08-21 23:32:47 +000051# tag: 2.1.1
David Bainbridge4974fcb2019-08-31 02:24:50 +000052# adapter_simulated_onu:
David Bainbridgebb32bc12019-08-23 22:54:49 +000053# repository: voltha/voltha-adapter-simulated-onu
David Bainbridge90fd8e32019-08-21 23:32:47 +000054# tag: 2.1.1
David Bainbridge801a0ec2019-09-26 15:48:06 +000055 bbsim:
56 repository: voltha/voltha-bbsim
57 tag: voltha-2.1
David Bainbridge90fd8e32019-08-21 23:32:47 +000058# afrouter:
David Bainbridgebb32bc12019-08-23 22:54:49 +000059# repository: voltha/voltha-afrouter
David Bainbridge90fd8e32019-08-21 23:32:47 +000060# tag: 2.1.1
61# afrouterd:
David Bainbridgebb32bc12019-08-23 22:54:49 +000062# repository: voltha/voltha-afrouterd
David Bainbridge90fd8e32019-08-21 23:32:47 +000063# tag: 2.1.1
64# 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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000102
103# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
104# The VOLTHA charts have support for adding extra labels to deployments and
105# pods. These extra labels can be used to integrate with other utilities
106# such as kube-monkey to add a bit of chaos to the cluster. Below are some
107# settings that can be uncommented to opt-in VOLTHA deployments/pods to
108# kube-monkey. For example, if you want ALL deployments and pods to opt-in
109# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
110# If you want to be more selected then comment the blocks that pertain to the
111# targets you care about.
112
113#extra_deployment_labels:
114# kube-monkey/enabled: enabled
115# kube-monkey/identifier: monkey-victim
116# kube-monkey/mtbf: 1
117# kube-monkey/kill-mode: fixed
118# kube-monkey/kill-value: 1
119#
120#extra_pod_labels:
121# kube-monkey/enabled: enabled
122# kube-monkey/identifier: monkey-victim
123# kube-monkey/mtbf: 1
124# kube-monkey/kill-mode: fixed
125# kube-monkey/kill-value: 1
126#
127#rw_core_deployment_labels:
128# kube-monkey/enabled: enabled
129# kube-monkey/identifier: monkey-victim
130# kube-monkey/mtbf: 1
131# kube-monkey/kill-mode: fixed
132# kube-monkey/kill-value: 1
133#
134#rw_core_pod_labels:
135# kube-monkey/enabled: enabled
136# kube-monkey/identifier: monkey-victim
137# kube-monkey/mtbf: 1
138# kube-monkey/kill-mode: fixed
139# kube-monkey/kill-value: 1
140#
141#ro_core_deployment_labels:
142# kube-monkey/enabled: enabled
143# kube-monkey/identifier: monkey-victim
144# kube-monkey/mtbf: 1
145# kube-monkey/kill-mode: fixed
146# kube-monkey/kill-value: 1
147#
148#ro_core_pod_labels:
149# kube-monkey/enabled: enabled
150# kube-monkey/identifier: monkey-victim
151# kube-monkey/mtbf: 1
152# kube-monkey/kill-mode: fixed
153# kube-monkey/kill-value: 1
154#
David Bainbridge801a0ec2019-09-26 15:48:06 +0000155#ofagent_deployment_labels:
156# kube-monkey/enabled: enabled
157# kube-monkey/identifier: monkey-victim
158# kube-monkey/mtbf: 1
159# kube-monkey/kill-mode: fixed
160# kube-monkey/kill-value: 1
161#
162#ofagent_pod_labels:
163# kube-monkey/enabled: enabled
164# kube-monkey/identifier: monkey-victim
165# kube-monkey/mtbf: 1
166# kube-monkey/kill-mode: fixed
167# kube-monkey/kill-value: 1
168#
David Bainbridge4974fcb2019-08-31 02:24:50 +0000169#openolt_deployment_labels:
170# kube-monkey/enabled: enabled
171# kube-monkey/identifier: monkey-victim
172# kube-monkey/mtbf: 1
173# kube-monkey/kill-mode: fixed
174# kube-monkey/kill-value: 1
175#
176#openolt_pod_labels:
177# kube-monkey/enabled: enabled
178# kube-monkey/identifier: monkey-victim
179# kube-monkey/mtbf: 1
180# kube-monkey/kill-mode: fixed
181# kube-monkey/kill-value: 1
182#
183#openonu_deployment_labels:
184# kube-monkey/enabled: enabled
185# kube-monkey/identifier: monkey-victim
186# kube-monkey/mtbf: 1
187# kube-monkey/kill-mode: fixed
188# kube-monkey/kill-value: 1
189#
190#openonu_pod_labels:
191# kube-monkey/enabled: enabled
192# kube-monkey/identifier: monkey-victim
193# kube-monkey/mtbf: 1
194# kube-monkey/kill-mode: fixed
195# kube-monkey/kill-value: 1
196#
197#simolt_deployment_labels:
198# kube-monkey/enabled: enabled
199# kube-monkey/identifier: monkey-victim
200# kube-monkey/mtbf: 1
201# kube-monkey/kill-mode: fixed
202# kube-monkey/kill-value: 1
203#
204#simolt_pod_labels:
205# kube-monkey/enabled: enabled
206# kube-monkey/identifier: monkey-victim
207# kube-monkey/mtbf: 1
208# kube-monkey/kill-mode: fixed
209# kube-monkey/kill-value: 1
210#
211#simonu_deployment_labels:
212# kube-monkey/enabled: enabled
213# kube-monkey/identifier: monkey-victim
214# kube-monkey/mtbf: 1
215# kube-monkey/kill-mode: fixed
216# kube-monkey/kill-value: 1
217#
218#simonu_pod_labels:
219# kube-monkey/enabled: enabled
220# kube-monkey/identifier: monkey-victim
221# kube-monkey/mtbf: 1
222# kube-monkey/kill-mode: fixed
223# kube-monkey/kill-value: 1