blob: 3cc9e724083b382431a82c2963414e821f5c787a [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 Bainbridge33e56c72020-06-11 11:39:56 -070026 image_pullPolicy: Always
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070027
David Bainbridgec7220622020-05-28 12:31:47 -070028private_etcd_cluster: false
29private_kafka_cluster: false
30
David Bainbridge33e56c72020-06-11 11:39:56 -070031# OPENONU-ADAPTER IMPLEMENTATION
32# ------------------------------
33# There are currently two implementations of OPENONU-ADAPTER: the original
34# written in Python and the reimplementation written in Go. The variable
35# `use_openonu_adapter_go` can be used to optionally use the new Go
36# implementation. This is done by setting that value to `true`.
David Bainbridgefce8af42020-03-17 12:50:39 -070037#
38# Along with this change you will also may need to set the Docker image
David Bainbridge33e56c72020-06-11 11:39:56 -070039# information below (search for START_OPENONU_ADAPTER_GO).
40use_openonu_adapter_go: false
David Bainbridgefce8af42020-03-17 12:50:39 -070041
David Bainbridge6040df12020-06-11 17:54:21 +000042images:
43 onos:
44 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 Scandolo209547b2019-11-01 14:48:15 -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.
David Bainbridge6040df12020-06-11 17:54:21 +000051 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 Bainbridge4974fcb2019-08-31 02:24:50 +000060# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000061# tag: 2.1.1
62# adapter_open_onu:
David Bainbridge4974fcb2019-08-31 02:24:50 +000063# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000064# tag: 2.1.0
65# adapter_simulated_olt:
David Bainbridge4974fcb2019-08-31 02:24:50 +000066# repository: voltha/voltha-adapter-simulated-olt
David Bainbridge90fd8e32019-08-21 23:32:47 +000067# tag: 2.1.1
David Bainbridge4974fcb2019-08-31 02:24:50 +000068# adapter_simulated_onu:
69# repository: voltha/voltha-adapter-simulated-onu
David Bainbridge90fd8e32019-08-21 23:32:47 +000070# tag: 2.1.1
71# bbsim:
David Bainbridgefce8af42020-03-17 12:50:39 -070072# repository: voltha/bbsim
73# tag: master
David Bainbridge52e6e9d2020-03-23 13:48:27 -070074# ofagent:
75# repository: voltha/voltha-ofagent-go
76# tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000077# rw_core:
David Bainbridge4974fcb2019-08-31 02:24:50 +000078# repository: voltha/voltha-rw-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000079# tag: 2.1.1
David Bainbridge33e56c72020-06-11 11:39:56 -070080# START_OPENONU_ADAPTER_GO - Uncomment the following block to use the
81# Go implementation of the openonu-adapter
82# adapter_open_onu_go:
83# repository: voltha-openonu-adapter-go
84# tag: master
85# END_OPENONU_ADAPTER_GO
David Bainbridgee10f6d52019-07-25 00:28:13 +000086
David Bainbridgec7220622020-05-28 12:31:47 -070087etcd:
88 replicas: 3
89 extraEnv:
90 - name: ETCD_AUTO_COMPACTION_RETENTION
91 value: "1"
92 - name: ETCD_SNAPSHOT_COUNT
93 value: "100000"
94 - name: ETCD_HEARTBEAT_INTERVAL
95 value: "100"
96 - name: ETCD_ELECTION_TIMEOUT
97 value: "1000"
98 - name: ETCD_MAX_SNAPSHOTS
99 value: "5"
100 - name: ETCD_QUOTA_BACKEND_BYTES
101 value: "0"
102 - name: ETCD_MAX_REQUEST_BYTES
103 value: "1572864"
104 - name: ETCD_GRPC_KEEPALIVE_MIN_TIME
105 value: "5s"
106 - name: ETCD_GRPC_KEEPALIVE_TIMEOUT
107 value: "5s"
108 - name: ETCD_DEBUG
109 value: "false"
David Bainbridgefce8af42020-03-17 12:50:39 -0700110
111kafka:
David Bainbridgec7220622020-05-28 12:31:47 -0700112 zookeeper:
113 replicaCount: 3
114 persistence:
115 enabled: false
David Bainbridgefce8af42020-03-17 12:50:39 -0700116 replicas: 3
David Bainbridgec7220622020-05-28 12:31:47 -0700117 persistence:
118 enabled: false
119 envOverrides:
120 KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR
121 KAFKA_TOOLS_LOG4J_LOGLEVEL: ERROR
122 # yamllint disable-line rule:line-length
123 KAFKA_LOG4J.LOGGERS: "kafka.zookeeper=ERROR,state.change.logger=ERROR,kafka=ERROR,kafka.controller=ERROR"
124 KAFKA_LOG_RETENTION_HOURS: 1
125 KAFKA_DEFAULT_REPLICATION_FACTOR: 1
126 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
David Bainbridgefce8af42020-03-17 12:50:39 -0700127
David Bainbridgea965ca22020-06-09 17:45:04 -0700128# voltha:
129# fullNameOverride: voltha
130
131# open-olt:
132# fullNameOverride: voltha-adapter-openolt
133
134# open-onu:
135# fullNameOverride: voltha-adapter-openonu
136
David Bainbridge33e56c72020-06-11 11:39:56 -0700137onos:
138 image:
139 repository: voltha/voltha-onos
140 tag: master
141 pullPolicy: Always
142 onos_env:
143 - name: POD_IP
144 valueFrom:
145 fieldRef:
146 fieldPath: status.podIP
147 - name: NAMESPACE
148 valueFrom:
149 fieldRef:
150 fieldPath: metadata.namespace
151 - name: ONOS_APPS
152 value: "drivers,openflow-base,hostprovider"
153 # No persistent volume in Atomix to have clean state for each re-deploy of ONOS
154 atomix:
155 persistence:
156 enabled: false
Andrea Campanella7e30faf2020-05-05 13:26:05 +0200157
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700158# Customization for BBSIM
David Bainbridge33e56c72020-06-11 11:39:56 -0700159bbsim:
160 nni: 1
161 pon: 1
162 onu: 1
163 sadisFormat: "att"
164 kafkaEventTopic: "bbsim"
165 enableEvents: false
David Bainbridge4974fcb2019-08-31 02:24:50 +0000166
David Bainbridge879439b2020-06-12 15:59:35 -0700167# Customization for BBSIM SADIS Servier
168sadis:
169 config:
170 bbsim_sadis_server:
171 sleep_time: 5s
172
David Bainbridge4974fcb2019-08-31 02:24:50 +0000173# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
174# The VOLTHA charts have support for adding extra labels to deployments and
175# pods. These extra labels can be used to integrate with other utilities
176# such as kube-monkey to add a bit of chaos to the cluster. Below are some
177# settings that can be uncommented to opt-in VOLTHA deployments/pods to
178# kube-monkey. For example, if you want ALL deployments and pods to opt-in
179# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
180# If you want to be more selected then comment the blocks that pertain to the
181# targets you care about.
182
Zack Williamsded60cb2020-04-13 10:02:20 -0700183# extra_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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000189#
Zack Williamsded60cb2020-04-13 10:02:20 -0700190# extra_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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000196#
Zack Williamsded60cb2020-04-13 10:02:20 -0700197# rw_core_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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000203#
Zack Williamsded60cb2020-04-13 10:02:20 -0700204# rw_core_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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000210#
Zack Williamsded60cb2020-04-13 10:02:20 -0700211# ofagent_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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000217#
Zack Williamsded60cb2020-04-13 10:02:20 -0700218# ofagent_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
David Bainbridge4974fcb2019-08-31 02:24:50 +0000224#
Zack Williamsded60cb2020-04-13 10:02:20 -0700225# openolt_deployment_labels:
226# kube-monkey/enabled: enabled
227# kube-monkey/identifier: monkey-victim
228# kube-monkey/mtbf: 1
229# kube-monkey/kill-mode: fixed
230# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000231#
Zack Williamsded60cb2020-04-13 10:02:20 -0700232# openolt_pod_labels:
233# kube-monkey/enabled: enabled
234# kube-monkey/identifier: monkey-victim
235# kube-monkey/mtbf: 1
236# kube-monkey/kill-mode: fixed
237# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000238#
Zack Williamsded60cb2020-04-13 10:02:20 -0700239# openonu_deployment_labels:
240# kube-monkey/enabled: enabled
241# kube-monkey/identifier: monkey-victim
242# kube-monkey/mtbf: 1
243# kube-monkey/kill-mode: fixed
244# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000245#
Zack Williamsded60cb2020-04-13 10:02:20 -0700246# openonu_pod_labels:
247# kube-monkey/enabled: enabled
248# kube-monkey/identifier: monkey-victim
249# kube-monkey/mtbf: 1
250# kube-monkey/kill-mode: fixed
251# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000252#
Zack Williamsded60cb2020-04-13 10:02:20 -0700253# simolt_deployment_labels:
254# kube-monkey/enabled: enabled
255# kube-monkey/identifier: monkey-victim
256# kube-monkey/mtbf: 1
257# kube-monkey/kill-mode: fixed
258# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000259#
Zack Williamsded60cb2020-04-13 10:02:20 -0700260# simolt_pod_labels:
261# kube-monkey/enabled: enabled
262# kube-monkey/identifier: monkey-victim
263# kube-monkey/mtbf: 1
264# kube-monkey/kill-mode: fixed
265# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000266#
Zack Williamsded60cb2020-04-13 10:02:20 -0700267# simonu_deployment_labels:
268# kube-monkey/enabled: enabled
269# kube-monkey/identifier: monkey-victim
270# kube-monkey/mtbf: 1
271# kube-monkey/kill-mode: fixed
272# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000273#
Zack Williamsded60cb2020-04-13 10:02:20 -0700274# simonu_pod_labels:
275# kube-monkey/enabled: enabled
276# kube-monkey/identifier: monkey-victim
277# kube-monkey/mtbf: 1
278# kube-monkey/kill-mode: fixed
279# kube-monkey/kill-value: 1