blob: 117dc576b24787e38db7176e0a00cc10ed46d61c [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:
David Bainbridgec7220622020-05-28 12:31:47 -070088 extraEnv:
89 - name: ETCD_AUTO_COMPACTION_RETENTION
90 value: "1"
91 - name: ETCD_SNAPSHOT_COUNT
92 value: "100000"
93 - name: ETCD_HEARTBEAT_INTERVAL
94 value: "100"
95 - name: ETCD_ELECTION_TIMEOUT
96 value: "1000"
97 - name: ETCD_MAX_SNAPSHOTS
98 value: "5"
99 - name: ETCD_QUOTA_BACKEND_BYTES
100 value: "0"
101 - name: ETCD_MAX_REQUEST_BYTES
102 value: "1572864"
103 - name: ETCD_GRPC_KEEPALIVE_MIN_TIME
104 value: "5s"
105 - name: ETCD_GRPC_KEEPALIVE_TIMEOUT
106 value: "5s"
107 - name: ETCD_DEBUG
108 value: "false"
David Bainbridgefce8af42020-03-17 12:50:39 -0700109
110kafka:
David Bainbridgec7220622020-05-28 12:31:47 -0700111 zookeeper:
David Bainbridgec7220622020-05-28 12:31:47 -0700112 persistence:
113 enabled: false
David Bainbridgec7220622020-05-28 12:31:47 -0700114 persistence:
115 enabled: false
116 envOverrides:
117 KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR
118 KAFKA_TOOLS_LOG4J_LOGLEVEL: ERROR
119 # yamllint disable-line rule:line-length
120 KAFKA_LOG4J.LOGGERS: "kafka.zookeeper=ERROR,state.change.logger=ERROR,kafka=ERROR,kafka.controller=ERROR"
121 KAFKA_LOG_RETENTION_HOURS: 1
122 KAFKA_DEFAULT_REPLICATION_FACTOR: 1
123 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
David Bainbridgefce8af42020-03-17 12:50:39 -0700124
David Bainbridgea965ca22020-06-09 17:45:04 -0700125# voltha:
126# fullNameOverride: voltha
127
128# open-olt:
129# fullNameOverride: voltha-adapter-openolt
130
131# open-onu:
132# fullNameOverride: voltha-adapter-openonu
133
David Bainbridge33e56c72020-06-11 11:39:56 -0700134onos:
135 image:
136 repository: voltha/voltha-onos
137 tag: master
138 pullPolicy: Always
139 onos_env:
140 - name: POD_IP
141 valueFrom:
142 fieldRef:
143 fieldPath: status.podIP
144 - name: NAMESPACE
145 valueFrom:
146 fieldRef:
147 fieldPath: metadata.namespace
148 - name: ONOS_APPS
149 value: "drivers,openflow-base,hostprovider"
Andrea Campanella8b336722020-08-03 10:34:32 +0200150 apps:
151 - org.onosproject.lldpprovider
152 - org.onosproject.openflow-base
153 - org.onosproject.gui2
154 - org.onosproject.drivers
155 - org.onosproject.mcast
156 - org.opencord.kafka
157 - org.opencord.sadis
158 - org.opencord.dhcpl2relay
159 - org.opencord.maclearner
160 - org.opencord.igmpproxy
161 - org.opencord.mcast
162 - org.opencord.olt
163 - org.opencord.aaa
David Bainbridge33e56c72020-06-11 11:39:56 -0700164 # No persistent volume in Atomix to have clean state for each re-deploy of ONOS
165 atomix:
166 persistence:
167 enabled: false
Andrea Campanella7e30faf2020-05-05 13:26:05 +0200168
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700169# Customization for BBSIM
David Bainbridge33e56c72020-06-11 11:39:56 -0700170bbsim:
171 nni: 1
172 pon: 1
173 onu: 1
174 sadisFormat: "att"
175 kafkaEventTopic: "bbsim"
176 enableEvents: false
David Bainbridge4974fcb2019-08-31 02:24:50 +0000177
David Bainbridge879439b2020-06-12 15:59:35 -0700178# Customization for BBSIM SADIS Servier
179sadis:
180 config:
181 bbsim_sadis_server:
182 sleep_time: 5s
183
divyadesai59f987a2020-05-27 12:11:33 +0000184# START EFK Setup to push voltha logs
185# elasticstack config
186# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
187elasticsearch:
188 replicas: 1
189 minimumMasterNodes: 1
190 # set cpu and memory configuration
191 resources:
192 requests:
193 cpu: "400m"
194 memory: "1Gi"
195 limits:
196 cpu: "1000m"
197 memory: "2Gi"
198 # setup persistence volume.By default persistence volumeclaim is disabled
199 volumeClaimTemplate:
200 accessModes: ["ReadWriteOnce"]
201 resources:
202 requests:
203 storage: 5Gi
204 persistence:
205 enabled: false
206 # setup cluster health status as yellow
207 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
208
209# kibana config
210# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
211kibana:
212 elasticsearchHosts: "http://elasticsearch-master:9200"
213
214# fluentd-elasticsearch config
215# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
216fluentd-elasticsearch:
217 elasticsearch:
218 # set elasticsearch host
219 hosts: ["elasticsearch-master:9200"]
220 sslVerify: false
221
Girish Kumarcc5f9172020-06-10 13:34:31 +0000222# Increase maxTraces to retain Traces for longer duration
223# But tracing pod will consume more memory
224tracing:
225 maxTraces: 500000
226
David Bainbridge4974fcb2019-08-31 02:24:50 +0000227# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
228# The VOLTHA charts have support for adding extra labels to deployments and
229# pods. These extra labels can be used to integrate with other utilities
230# such as kube-monkey to add a bit of chaos to the cluster. Below are some
231# settings that can be uncommented to opt-in VOLTHA deployments/pods to
232# kube-monkey. For example, if you want ALL deployments and pods to opt-in
233# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
234# If you want to be more selected then comment the blocks that pertain to the
235# targets you care about.
236
Zack Williamsded60cb2020-04-13 10:02:20 -0700237# extra_deployment_labels:
238# kube-monkey/enabled: enabled
239# kube-monkey/identifier: monkey-victim
240# kube-monkey/mtbf: 1
241# kube-monkey/kill-mode: fixed
242# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000243#
Zack Williamsded60cb2020-04-13 10:02:20 -0700244# extra_pod_labels:
245# kube-monkey/enabled: enabled
246# kube-monkey/identifier: monkey-victim
247# kube-monkey/mtbf: 1
248# kube-monkey/kill-mode: fixed
249# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000250#
Zack Williamsded60cb2020-04-13 10:02:20 -0700251# rw_core_deployment_labels:
252# kube-monkey/enabled: enabled
253# kube-monkey/identifier: monkey-victim
254# kube-monkey/mtbf: 1
255# kube-monkey/kill-mode: fixed
256# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000257#
Zack Williamsded60cb2020-04-13 10:02:20 -0700258# rw_core_pod_labels:
259# kube-monkey/enabled: enabled
260# kube-monkey/identifier: monkey-victim
261# kube-monkey/mtbf: 1
262# kube-monkey/kill-mode: fixed
263# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000264#
Zack Williamsded60cb2020-04-13 10:02:20 -0700265# ofagent_deployment_labels:
266# kube-monkey/enabled: enabled
267# kube-monkey/identifier: monkey-victim
268# kube-monkey/mtbf: 1
269# kube-monkey/kill-mode: fixed
270# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000271#
Zack Williamsded60cb2020-04-13 10:02:20 -0700272# ofagent_pod_labels:
273# kube-monkey/enabled: enabled
274# kube-monkey/identifier: monkey-victim
275# kube-monkey/mtbf: 1
276# kube-monkey/kill-mode: fixed
277# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000278#
Zack Williamsded60cb2020-04-13 10:02:20 -0700279# openolt_deployment_labels:
280# kube-monkey/enabled: enabled
281# kube-monkey/identifier: monkey-victim
282# kube-monkey/mtbf: 1
283# kube-monkey/kill-mode: fixed
284# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000285#
Zack Williamsded60cb2020-04-13 10:02:20 -0700286# openolt_pod_labels:
287# kube-monkey/enabled: enabled
288# kube-monkey/identifier: monkey-victim
289# kube-monkey/mtbf: 1
290# kube-monkey/kill-mode: fixed
291# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000292#
Zack Williamsded60cb2020-04-13 10:02:20 -0700293# openonu_deployment_labels:
294# kube-monkey/enabled: enabled
295# kube-monkey/identifier: monkey-victim
296# kube-monkey/mtbf: 1
297# kube-monkey/kill-mode: fixed
298# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000299#
Zack Williamsded60cb2020-04-13 10:02:20 -0700300# openonu_pod_labels:
301# kube-monkey/enabled: enabled
302# kube-monkey/identifier: monkey-victim
303# kube-monkey/mtbf: 1
304# kube-monkey/kill-mode: fixed
305# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000306#
Zack Williamsded60cb2020-04-13 10:02:20 -0700307# simolt_deployment_labels:
308# kube-monkey/enabled: enabled
309# kube-monkey/identifier: monkey-victim
310# kube-monkey/mtbf: 1
311# kube-monkey/kill-mode: fixed
312# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000313#
Zack Williamsded60cb2020-04-13 10:02:20 -0700314# simolt_pod_labels:
315# kube-monkey/enabled: enabled
316# kube-monkey/identifier: monkey-victim
317# kube-monkey/mtbf: 1
318# kube-monkey/kill-mode: fixed
319# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000320#
Zack Williamsded60cb2020-04-13 10:02:20 -0700321# simonu_deployment_labels:
322# kube-monkey/enabled: enabled
323# kube-monkey/identifier: monkey-victim
324# kube-monkey/mtbf: 1
325# kube-monkey/kill-mode: fixed
326# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000327#
Zack Williamsded60cb2020-04-13 10:02:20 -0700328# simonu_pod_labels:
329# kube-monkey/enabled: enabled
330# kube-monkey/identifier: monkey-victim
331# kube-monkey/mtbf: 1
332# kube-monkey/kill-mode: fixed
333# kube-monkey/kill-value: 1