blob: 33bb25171b949699a34fd24c48c1a2ad7bd93498 [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
Andrea Campanella8b336722020-08-03 10:34:32 +0200159 - org.opencord.igmpproxy
160 - org.opencord.mcast
161 - org.opencord.olt
162 - org.opencord.aaa
Andrea Campanella01fae922020-09-23 17:23:23 +0200163 java_opts: >
164 -XX:+UseG1GC
165 -XX:MaxGCPauseMillis=200
166 -XX:-UseContainerSupport
167 -Dkaraf.log.console=INFO
168 -Dds.lock.timeout.milliseconds=10000
David Bainbridge33e56c72020-06-11 11:39:56 -0700169 # No persistent volume in Atomix to have clean state for each re-deploy of ONOS
170 atomix:
171 persistence:
172 enabled: false
Andrea Campanellae2c88362020-09-24 17:21:34 +0200173 java_opts: >
174 -Xmx2G
175 -XX:-UseContainerSupport
Andrea Campanella7e30faf2020-05-05 13:26:05 +0200176
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700177# Customization for BBSIM
David Bainbridge33e56c72020-06-11 11:39:56 -0700178bbsim:
179 nni: 1
180 pon: 1
181 onu: 1
182 sadisFormat: "att"
183 kafkaEventTopic: "bbsim"
184 enableEvents: false
David Bainbridge4974fcb2019-08-31 02:24:50 +0000185
David Bainbridge879439b2020-06-12 15:59:35 -0700186# Customization for BBSIM SADIS Servier
187sadis:
188 config:
189 bbsim_sadis_server:
190 sleep_time: 5s
191
divyadesai59f987a2020-05-27 12:11:33 +0000192# START EFK Setup to push voltha logs
193# elasticstack config
194# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
195elasticsearch:
196 replicas: 1
197 minimumMasterNodes: 1
198 # set cpu and memory configuration
199 resources:
200 requests:
201 cpu: "400m"
202 memory: "1Gi"
203 limits:
204 cpu: "1000m"
205 memory: "2Gi"
206 # setup persistence volume.By default persistence volumeclaim is disabled
207 volumeClaimTemplate:
208 accessModes: ["ReadWriteOnce"]
209 resources:
210 requests:
211 storage: 5Gi
212 persistence:
213 enabled: false
214 # setup cluster health status as yellow
215 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
216
217# kibana config
218# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
219kibana:
220 elasticsearchHosts: "http://elasticsearch-master:9200"
221
222# fluentd-elasticsearch config
223# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
224fluentd-elasticsearch:
225 elasticsearch:
226 # set elasticsearch host
227 hosts: ["elasticsearch-master:9200"]
228 sslVerify: false
229
Girish Kumarcc5f9172020-06-10 13:34:31 +0000230# Increase maxTraces to retain Traces for longer duration
231# But tracing pod will consume more memory
232tracing:
233 maxTraces: 500000
234
David Bainbridge4974fcb2019-08-31 02:24:50 +0000235# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
236# The VOLTHA charts have support for adding extra labels to deployments and
237# pods. These extra labels can be used to integrate with other utilities
238# such as kube-monkey to add a bit of chaos to the cluster. Below are some
239# settings that can be uncommented to opt-in VOLTHA deployments/pods to
240# kube-monkey. For example, if you want ALL deployments and pods to opt-in
241# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
242# If you want to be more selected then comment the blocks that pertain to the
243# targets you care about.
244
Zack Williamsded60cb2020-04-13 10:02:20 -0700245# extra_deployment_labels:
246# kube-monkey/enabled: enabled
247# kube-monkey/identifier: monkey-victim
248# kube-monkey/mtbf: 1
249# kube-monkey/kill-mode: fixed
250# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000251#
Zack Williamsded60cb2020-04-13 10:02:20 -0700252# extra_pod_labels:
253# kube-monkey/enabled: enabled
254# kube-monkey/identifier: monkey-victim
255# kube-monkey/mtbf: 1
256# kube-monkey/kill-mode: fixed
257# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000258#
Zack Williamsded60cb2020-04-13 10:02:20 -0700259# rw_core_deployment_labels:
260# kube-monkey/enabled: enabled
261# kube-monkey/identifier: monkey-victim
262# kube-monkey/mtbf: 1
263# kube-monkey/kill-mode: fixed
264# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000265#
Zack Williamsded60cb2020-04-13 10:02:20 -0700266# rw_core_pod_labels:
267# kube-monkey/enabled: enabled
268# kube-monkey/identifier: monkey-victim
269# kube-monkey/mtbf: 1
270# kube-monkey/kill-mode: fixed
271# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000272#
Zack Williamsded60cb2020-04-13 10:02:20 -0700273# ofagent_deployment_labels:
274# kube-monkey/enabled: enabled
275# kube-monkey/identifier: monkey-victim
276# kube-monkey/mtbf: 1
277# kube-monkey/kill-mode: fixed
278# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000279#
Zack Williamsded60cb2020-04-13 10:02:20 -0700280# ofagent_pod_labels:
281# kube-monkey/enabled: enabled
282# kube-monkey/identifier: monkey-victim
283# kube-monkey/mtbf: 1
284# kube-monkey/kill-mode: fixed
285# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000286#
Zack Williamsded60cb2020-04-13 10:02:20 -0700287# openolt_deployment_labels:
288# kube-monkey/enabled: enabled
289# kube-monkey/identifier: monkey-victim
290# kube-monkey/mtbf: 1
291# kube-monkey/kill-mode: fixed
292# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000293#
Zack Williamsded60cb2020-04-13 10:02:20 -0700294# openolt_pod_labels:
295# kube-monkey/enabled: enabled
296# kube-monkey/identifier: monkey-victim
297# kube-monkey/mtbf: 1
298# kube-monkey/kill-mode: fixed
299# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000300#
Zack Williamsded60cb2020-04-13 10:02:20 -0700301# openonu_deployment_labels:
302# kube-monkey/enabled: enabled
303# kube-monkey/identifier: monkey-victim
304# kube-monkey/mtbf: 1
305# kube-monkey/kill-mode: fixed
306# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000307#
Zack Williamsded60cb2020-04-13 10:02:20 -0700308# openonu_pod_labels:
309# kube-monkey/enabled: enabled
310# kube-monkey/identifier: monkey-victim
311# kube-monkey/mtbf: 1
312# kube-monkey/kill-mode: fixed
313# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000314#
Zack Williamsded60cb2020-04-13 10:02:20 -0700315# simolt_deployment_labels:
316# kube-monkey/enabled: enabled
317# kube-monkey/identifier: monkey-victim
318# kube-monkey/mtbf: 1
319# kube-monkey/kill-mode: fixed
320# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000321#
Zack Williamsded60cb2020-04-13 10:02:20 -0700322# simolt_pod_labels:
323# kube-monkey/enabled: enabled
324# kube-monkey/identifier: monkey-victim
325# kube-monkey/mtbf: 1
326# kube-monkey/kill-mode: fixed
327# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000328#
Zack Williamsded60cb2020-04-13 10:02:20 -0700329# simonu_deployment_labels:
330# kube-monkey/enabled: enabled
331# kube-monkey/identifier: monkey-victim
332# kube-monkey/mtbf: 1
333# kube-monkey/kill-mode: fixed
334# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000335#
Zack Williamsded60cb2020-04-13 10:02:20 -0700336# simonu_pod_labels:
337# kube-monkey/enabled: enabled
338# kube-monkey/identifier: monkey-victim
339# kube-monkey/mtbf: 1
340# kube-monkey/kill-mode: fixed
341# kube-monkey/kill-value: 1