blob: 6844b58b72f9b068478d42e8ca16ee10305743ec [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 K. Bainbridgee3016f72020-01-30 09:48:34 -080026# OFAGENT IMPLEMENTATION
27# ----------------------
28# There are currently two implementations of OFAGENT: the original written in
29# Python and the reimplementation written in Go. The variable `use_ofagent_go`
David Bainbridgefce8af42020-03-17 12:50:39 -070030# can be used to optionally select the implementation. The Go version is the
31# version to be part of the official release and is the default. The Python
32# verison has been deprecated and is no longer being actively workes, but is
33# being left as an option for this release.
34#
35# Along with this change you will also may need to set the Docker image
36# information below (search for START_OFAGENT_GO).
37use_ofagent_go: true
David K. Bainbridgee3016f72020-01-30 09:48:34 -080038
David Bainbridge1ba64f12019-12-18 00:40:13 +000039replicas:
40 cli: ~
41
David Bainbridgee10f6d52019-07-25 00:28:13 +000042images:
David Bainbridgeac7f8072019-08-01 22:15:33 +000043 onos:
David Bainbridged31d6122019-08-13 19:37:59 +000044 repository: voltha/voltha-onos
David Bainbridge90fd8e32019-08-21 23:32:47 +000045 # IMAGE_SELECTION
46 # ---------------
47 # The helm chart used to deploy ONOS is the public ONOS helm chart so,
48 # there is a need to specify the exact image repository and image tag.
Matteo Scandolodcd29f52019-10-07 15:42:42 -070049 # If you would like to use the "master", "voltha-2.1", or other image
David Bainbridge90fd8e32019-08-21 23:32:47 +000050 # just replace the "tag" value below.
Andy Bavier8fe14e02019-10-16 09:57:27 -070051 tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000052
53# IMAGE_SELECTION
54# ---------------
55# Below are a list of all the images utilized by kind-voltha. This list is
56# provided as a conveinence if you would like to override on a per image
57# basis. If you are using the defaults, master, or voltha-2.1 branch there
58# is no need to utilize this list.
David Bainbridge90fd8e32019-08-21 23:32:47 +000059# adapter_open_olt:
David Bainbridgebb32bc12019-08-23 22:54:49 +000060# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000061# tag: 2.1.1
62# adapter_open_onu:
David Bainbridgebb32bc12019-08-23 22:54:49 +000063# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000064# tag: 2.1.0
Andy Bavier8fe14e02019-10-16 09:57:27 -070065# adapter_simulated_olt:
66# repository: voltha/voltha-adapter-simulated-olt
David Bainbridgefce8af42020-03-17 12:50:39 -070067# tag: 2.1.1
Andy Bavier8fe14e02019-10-16 09:57:27 -070068# adapter_simulated_onu:
69# repository: voltha/voltha-adapter-simulated-onu
David Bainbridgefce8af42020-03-17 12:50:39 -070070# tag: 2.1.1
Andy Bavier8fe14e02019-10-16 09:57:27 -070071# bbsim:
72# repository: voltha/bbsim
73# tag: master
David Bainbridgefce8af42020-03-17 12:50:39 -070074# START_OFAGENT_GO - Comment the following block to use the Python implementation
David K. Bainbridgee3016f72020-01-30 09:48:34 -080075# of the ofagent
David Bainbridgefce8af42020-03-17 12:50:39 -070076 ofagent:
77 repository: voltha/ofagent-go
78 tag: master
David K. Bainbridgee3016f72020-01-30 09:48:34 -080079# END_OFAGENT_GO
80# ofagent:
David Bainbridgefce8af42020-03-17 12:50:39 -070081# repository: voltha/voltha-ofagent
David Bainbridge90fd8e32019-08-21 23:32:47 +000082# tag: 2.1.1
83# rw_core:
David Bainbridgebb32bc12019-08-23 22:54:49 +000084# repository: voltha/voltha-rw-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000085# tag: 2.1.1
David Bainbridgee10f6d52019-07-25 00:28:13 +000086
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070087deployments:
88 etcdOperator: true
89 backupOperator: false
90 restoreOperator: false
91
92voltha-etcd-cluster:
93 clusterSize: 1
David Bainbridgebb32bc12019-08-23 22:54:49 +000094 autoCompactionRetention: 1
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070095
David Bainbridgefce8af42020-03-17 12:50:39 -070096kafka:
97 configurationOverrides:
98 "default.replication.factor": 1
99 "offsets.topic.replication.factor": 1
100 replicas: 1
101
David K. Bainbridge4ecc1262019-07-01 13:39:11 -0700102onos_env:
103- name: POD_IP
104 valueFrom:
105 fieldRef:
106 fieldPath: status.podIP
107- name: NAMESPACE
108 valueFrom:
109 fieldRef:
110 fieldPath: metadata.namespace
111- name: ONOS_APPS
112 value: "drivers,openflow-base,hostprovider"
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700113
114# Customization for BBSIM
115kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
Hardik Windlass678cafb2020-02-11 15:34:37 +0000116pon: 1
117onu: 1
Matteo Scandolo38b98ce2019-11-04 07:57:42 -0800118auth: true
119dhcp: true
David Bainbridge4974fcb2019-08-31 02:24:50 +0000120
121# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
122# The VOLTHA charts have support for adding extra labels to deployments and
123# pods. These extra labels can be used to integrate with other utilities
124# such as kube-monkey to add a bit of chaos to the cluster. Below are some
125# settings that can be uncommented to opt-in VOLTHA deployments/pods to
126# kube-monkey. For example, if you want ALL deployments and pods to opt-in
127# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
128# If you want to be more selected then comment the blocks that pertain to the
129# targets you care about.
130
131#extra_deployment_labels:
132# kube-monkey/enabled: enabled
133# kube-monkey/identifier: monkey-victim
134# kube-monkey/mtbf: 1
135# kube-monkey/kill-mode: fixed
136# kube-monkey/kill-value: 1
137#
138#extra_pod_labels:
139# kube-monkey/enabled: enabled
140# kube-monkey/identifier: monkey-victim
141# kube-monkey/mtbf: 1
142# kube-monkey/kill-mode: fixed
143# kube-monkey/kill-value: 1
144#
145#rw_core_deployment_labels:
146# kube-monkey/enabled: enabled
147# kube-monkey/identifier: monkey-victim
148# kube-monkey/mtbf: 1
149# kube-monkey/kill-mode: fixed
150# kube-monkey/kill-value: 1
151#
152#rw_core_pod_labels:
153# kube-monkey/enabled: enabled
154# kube-monkey/identifier: monkey-victim
155# kube-monkey/mtbf: 1
156# kube-monkey/kill-mode: fixed
157# kube-monkey/kill-value: 1
158#
David Bainbridge801a0ec2019-09-26 15:48:06 +0000159#ofagent_deployment_labels:
160# kube-monkey/enabled: enabled
161# kube-monkey/identifier: monkey-victim
162# kube-monkey/mtbf: 1
163# kube-monkey/kill-mode: fixed
164# kube-monkey/kill-value: 1
165#
166#ofagent_pod_labels:
167# kube-monkey/enabled: enabled
168# kube-monkey/identifier: monkey-victim
169# kube-monkey/mtbf: 1
170# kube-monkey/kill-mode: fixed
171# kube-monkey/kill-value: 1
172#
David Bainbridge4974fcb2019-08-31 02:24:50 +0000173#openolt_deployment_labels:
174# kube-monkey/enabled: enabled
175# kube-monkey/identifier: monkey-victim
176# kube-monkey/mtbf: 1
177# kube-monkey/kill-mode: fixed
178# kube-monkey/kill-value: 1
179#
180#openolt_pod_labels:
181# kube-monkey/enabled: enabled
182# kube-monkey/identifier: monkey-victim
183# kube-monkey/mtbf: 1
184# kube-monkey/kill-mode: fixed
185# kube-monkey/kill-value: 1
186#
187#openonu_deployment_labels:
188# kube-monkey/enabled: enabled
189# kube-monkey/identifier: monkey-victim
190# kube-monkey/mtbf: 1
191# kube-monkey/kill-mode: fixed
192# kube-monkey/kill-value: 1
193#
194#openonu_pod_labels:
195# kube-monkey/enabled: enabled
196# kube-monkey/identifier: monkey-victim
197# kube-monkey/mtbf: 1
198# kube-monkey/kill-mode: fixed
199# kube-monkey/kill-value: 1
200#
201#simolt_deployment_labels:
202# kube-monkey/enabled: enabled
203# kube-monkey/identifier: monkey-victim
204# kube-monkey/mtbf: 1
205# kube-monkey/kill-mode: fixed
206# kube-monkey/kill-value: 1
207#
208#simolt_pod_labels:
209# kube-monkey/enabled: enabled
210# kube-monkey/identifier: monkey-victim
211# kube-monkey/mtbf: 1
212# kube-monkey/kill-mode: fixed
213# kube-monkey/kill-value: 1
214#
215#simonu_deployment_labels:
216# kube-monkey/enabled: enabled
217# kube-monkey/identifier: monkey-victim
218# kube-monkey/mtbf: 1
219# kube-monkey/kill-mode: fixed
220# kube-monkey/kill-value: 1
221#
222#simonu_pod_labels:
223# kube-monkey/enabled: enabled
224# kube-monkey/identifier: monkey-victim
225# kube-monkey/mtbf: 1
226# kube-monkey/kill-mode: fixed
227# kube-monkey/kill-value: 1