blob: d81097c48116beb75f9b3b7fae762bab3b015dfb [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
Andrea Campanella7e30faf2020-05-05 13:26:05 +0200112# No persistent volume in Atomix to have clean state for each re-deploy of ONOS
113atomix:
114 persistence:
115 enabled: false
116
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700117# Customization for BBSIM
118kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
Matteo Scandolod267bb92020-02-13 10:47:44 -0800119pon: 1
120onu: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000121
122# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
123# The VOLTHA charts have support for adding extra labels to deployments and
124# pods. These extra labels can be used to integrate with other utilities
125# such as kube-monkey to add a bit of chaos to the cluster. Below are some
126# settings that can be uncommented to opt-in VOLTHA deployments/pods to
127# kube-monkey. For example, if you want ALL deployments and pods to opt-in
128# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
129# If you want to be more selected then comment the blocks that pertain to the
130# targets you care about.
131
Zack Williamsded60cb2020-04-13 10:02:20 -0700132# extra_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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000138#
Zack Williamsded60cb2020-04-13 10:02:20 -0700139# extra_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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000145#
Zack Williamsded60cb2020-04-13 10:02:20 -0700146# rw_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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000152#
Zack Williamsded60cb2020-04-13 10:02:20 -0700153# rw_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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000159#
Zack Williamsded60cb2020-04-13 10:02:20 -0700160# 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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000166#
Zack Williamsded60cb2020-04-13 10:02:20 -0700167# 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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000173#
Zack Williamsded60cb2020-04-13 10:02:20 -0700174# 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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000180#
Zack Williamsded60cb2020-04-13 10:02:20 -0700181# 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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000187#
Zack Williamsded60cb2020-04-13 10:02:20 -0700188# 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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000194#
Zack Williamsded60cb2020-04-13 10:02:20 -0700195# 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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000201#
Zack Williamsded60cb2020-04-13 10:02:20 -0700202# 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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000208#
Zack Williamsded60cb2020-04-13 10:02:20 -0700209# 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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000215#
Zack Williamsded60cb2020-04-13 10:02:20 -0700216# 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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000222#
Zack Williamsded60cb2020-04-13 10:02:20 -0700223# 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