blob: 3b76135dd2bd117123cd937d28c45a9dabd3bcdb [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 Bainbridge1ba64f12019-12-18 00:40:13 +000026replicas:
27 cli: ~
28
David Bainbridgee10f6d52019-07-25 00:28:13 +000029images:
David Bainbridgeac7f8072019-08-01 22:15:33 +000030 onos:
David Bainbridged31d6122019-08-13 19:37:59 +000031 repository: voltha/voltha-onos
David Bainbridge90fd8e32019-08-21 23:32:47 +000032 # IMAGE_SELECTION
33 # ---------------
34 # The helm chart used to deploy ONOS is the public ONOS helm chart so,
35 # there is a need to specify the exact image repository and image tag.
Matteo Scandolodcd29f52019-10-07 15:42:42 -070036 # If you would like to use the "master", "voltha-2.1", or other image
David Bainbridge90fd8e32019-08-21 23:32:47 +000037 # just replace the "tag" value below.
Andy Bavier8fe14e02019-10-16 09:57:27 -070038 tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000039
40# IMAGE_SELECTION
41# ---------------
42# Below are a list of all the images utilized by kind-voltha. This list is
43# provided as a conveinence if you would like to override on a per image
44# basis. If you are using the defaults, master, or voltha-2.1 branch there
45# is no need to utilize this list.
David Bainbridge90fd8e32019-08-21 23:32:47 +000046# adapter_open_olt:
David Bainbridgebb32bc12019-08-23 22:54:49 +000047# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000048# tag: 2.1.1
49# adapter_open_onu:
David Bainbridgebb32bc12019-08-23 22:54:49 +000050# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000051# tag: 2.1.0
Andy Bavier8fe14e02019-10-16 09:57:27 -070052# adapter_simulated_olt:
53# repository: voltha/voltha-adapter-simulated-olt
54# tag: master
55# adapter_simulated_onu:
56# repository: voltha/voltha-adapter-simulated-onu
57# tag: master
58# bbsim:
59# repository: voltha/bbsim
60# tag: master
61# afrouter:
62# repository: voltha/voltha-afrouter
63# tag: master
64# afrouterd:
65# repository: voltha/voltha-afrouterd
66# tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000067# cli:
David Bainbridgebb32bc12019-08-23 22:54:49 +000068# repository: voltha/voltha-cli
David Bainbridge90fd8e32019-08-21 23:32:47 +000069# tag: 2.1.1
70# ofagent:
David Bainbridgebb32bc12019-08-23 22:54:49 +000071# repository: voltha/voltha-ofagent
David Bainbridge90fd8e32019-08-21 23:32:47 +000072# tag: 2.1.1
73# ro_core:
David Bainbridgebb32bc12019-08-23 22:54:49 +000074# repository: voltha/voltha-ro-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000075# tag: 2.1.1
76# rw_core:
David Bainbridgebb32bc12019-08-23 22:54:49 +000077# repository: voltha/voltha-rw-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000078# tag: 2.1.1
David Bainbridgee10f6d52019-07-25 00:28:13 +000079
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070080deployments:
81 etcdOperator: true
82 backupOperator: false
83 restoreOperator: false
84
85voltha-etcd-cluster:
86 clusterSize: 1
David Bainbridgebb32bc12019-08-23 22:54:49 +000087 autoCompactionRetention: 1
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070088
89onos_env:
90- name: POD_IP
91 valueFrom:
92 fieldRef:
93 fieldPath: status.podIP
94- name: NAMESPACE
95 valueFrom:
96 fieldRef:
97 fieldPath: metadata.namespace
98- name: ONOS_APPS
99 value: "drivers,openflow-base,hostprovider"
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700100
101# Customization for BBSIM
102kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
David Bainbridge7831a662019-07-25 18:12:25 +0000103pon_ports: 1
104onus_per_pon_port: 1
Matteo Scandolo38b98ce2019-11-04 07:57:42 -0800105auth: true
106dhcp: true
David Bainbridge4974fcb2019-08-31 02:24:50 +0000107
108# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
109# The VOLTHA charts have support for adding extra labels to deployments and
110# pods. These extra labels can be used to integrate with other utilities
111# such as kube-monkey to add a bit of chaos to the cluster. Below are some
112# settings that can be uncommented to opt-in VOLTHA deployments/pods to
113# kube-monkey. For example, if you want ALL deployments and pods to opt-in
114# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
115# If you want to be more selected then comment the blocks that pertain to the
116# targets you care about.
117
118#extra_deployment_labels:
119# kube-monkey/enabled: enabled
120# kube-monkey/identifier: monkey-victim
121# kube-monkey/mtbf: 1
122# kube-monkey/kill-mode: fixed
123# kube-monkey/kill-value: 1
124#
125#extra_pod_labels:
126# kube-monkey/enabled: enabled
127# kube-monkey/identifier: monkey-victim
128# kube-monkey/mtbf: 1
129# kube-monkey/kill-mode: fixed
130# kube-monkey/kill-value: 1
131#
132#rw_core_deployment_labels:
133# kube-monkey/enabled: enabled
134# kube-monkey/identifier: monkey-victim
135# kube-monkey/mtbf: 1
136# kube-monkey/kill-mode: fixed
137# kube-monkey/kill-value: 1
138#
139#rw_core_pod_labels:
140# kube-monkey/enabled: enabled
141# kube-monkey/identifier: monkey-victim
142# kube-monkey/mtbf: 1
143# kube-monkey/kill-mode: fixed
144# kube-monkey/kill-value: 1
145#
146#ro_core_deployment_labels:
147# kube-monkey/enabled: enabled
148# kube-monkey/identifier: monkey-victim
149# kube-monkey/mtbf: 1
150# kube-monkey/kill-mode: fixed
151# kube-monkey/kill-value: 1
152#
153#ro_core_pod_labels:
154# kube-monkey/enabled: enabled
155# kube-monkey/identifier: monkey-victim
156# kube-monkey/mtbf: 1
157# kube-monkey/kill-mode: fixed
158# kube-monkey/kill-value: 1
159#
David Bainbridge801a0ec2019-09-26 15:48:06 +0000160#ofagent_deployment_labels:
161# kube-monkey/enabled: enabled
162# kube-monkey/identifier: monkey-victim
163# kube-monkey/mtbf: 1
164# kube-monkey/kill-mode: fixed
165# kube-monkey/kill-value: 1
166#
167#ofagent_pod_labels:
168# kube-monkey/enabled: enabled
169# kube-monkey/identifier: monkey-victim
170# kube-monkey/mtbf: 1
171# kube-monkey/kill-mode: fixed
172# kube-monkey/kill-value: 1
173#
David Bainbridge4974fcb2019-08-31 02:24:50 +0000174#openolt_deployment_labels:
175# kube-monkey/enabled: enabled
176# kube-monkey/identifier: monkey-victim
177# kube-monkey/mtbf: 1
178# kube-monkey/kill-mode: fixed
179# kube-monkey/kill-value: 1
180#
181#openolt_pod_labels:
182# kube-monkey/enabled: enabled
183# kube-monkey/identifier: monkey-victim
184# kube-monkey/mtbf: 1
185# kube-monkey/kill-mode: fixed
186# kube-monkey/kill-value: 1
187#
188#openonu_deployment_labels:
189# kube-monkey/enabled: enabled
190# kube-monkey/identifier: monkey-victim
191# kube-monkey/mtbf: 1
192# kube-monkey/kill-mode: fixed
193# kube-monkey/kill-value: 1
194#
195#openonu_pod_labels:
196# kube-monkey/enabled: enabled
197# kube-monkey/identifier: monkey-victim
198# kube-monkey/mtbf: 1
199# kube-monkey/kill-mode: fixed
200# kube-monkey/kill-value: 1
201#
202#simolt_deployment_labels:
203# kube-monkey/enabled: enabled
204# kube-monkey/identifier: monkey-victim
205# kube-monkey/mtbf: 1
206# kube-monkey/kill-mode: fixed
207# kube-monkey/kill-value: 1
208#
209#simolt_pod_labels:
210# kube-monkey/enabled: enabled
211# kube-monkey/identifier: monkey-victim
212# kube-monkey/mtbf: 1
213# kube-monkey/kill-mode: fixed
214# kube-monkey/kill-value: 1
215#
216#simonu_deployment_labels:
217# kube-monkey/enabled: enabled
218# kube-monkey/identifier: monkey-victim
219# kube-monkey/mtbf: 1
220# kube-monkey/kill-mode: fixed
221# kube-monkey/kill-value: 1
222#
223#simonu_pod_labels:
224# kube-monkey/enabled: enabled
225# kube-monkey/identifier: monkey-victim
226# kube-monkey/mtbf: 1
227# kube-monkey/kill-mode: fixed
228# kube-monkey/kill-value: 1