blob: f27efc3078b2fbc35f7a7023cb3b0a644a8f7e85 [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".
Andrea Campanella8cb166d2021-01-22 11:51:42 +010024global:
25 image_tag: master
26 image_pullPolicy: Always
27# defaults is maintained for backward compatibility
David Bainbridge70c0ea82019-11-14 23:25:26 +000028defaults:
29 image_tag: master
David Bainbridge33e56c72020-06-11 11:39:56 -070030 image_pullPolicy: Always
David K. Bainbridge4ecc1262019-07-01 13:39:11 -070031
David Bainbridgec7220622020-05-28 12:31:47 -070032private_etcd_cluster: false
33private_kafka_cluster: false
34
David Bainbridge33e56c72020-06-11 11:39:56 -070035# OPENONU-ADAPTER IMPLEMENTATION
36# ------------------------------
37# There are currently two implementations of OPENONU-ADAPTER: the original
38# written in Python and the reimplementation written in Go. The variable
Matteo Scandolo57ffd062020-12-09 09:33:06 -080039# `use_openonu_adapter_go` can be set to false to optionally use the old Py
David Bainbridge33e56c72020-06-11 11:39:56 -070040# implementation. This is done by setting that value to `true`.
David Bainbridgefce8af42020-03-17 12:50:39 -070041#
42# Along with this change you will also may need to set the Docker image
David Bainbridge33e56c72020-06-11 11:39:56 -070043# information below (search for START_OPENONU_ADAPTER_GO).
Matteo Scandolo57ffd062020-12-09 09:33:06 -080044use_openonu_adapter_go: true
David Bainbridgefce8af42020-03-17 12:50:39 -070045
David Bainbridge6040df12020-06-11 17:54:21 +000046images:
47 onos:
48 repository: voltha/voltha-onos
David Bainbridge90fd8e32019-08-21 23:32:47 +000049 # IMAGE_SELECTION
50 # ---------------
51 # The helm chart used to deploy ONOS is the public ONOS helm chart so,
52 # there is a need to specify the exact image repository and image tag.
Matteo Scandolo209547b2019-11-01 14:48:15 -070053 # If you would like to use the "master", "voltha-2.1", or other image
David Bainbridge90fd8e32019-08-21 23:32:47 +000054 # just replace the "tag" value below.
David Bainbridge6040df12020-06-11 17:54:21 +000055 tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000056
57# IMAGE_SELECTION
58# ---------------
59# Below are a list of all the images utilized by kind-voltha. This list is
60# provided as a conveinence if you would like to override on a per image
61# basis. If you are using the defaults, master, or voltha-2.1 branch there
62# is no need to utilize this list.
David Bainbridge90fd8e32019-08-21 23:32:47 +000063# adapter_open_olt:
David Bainbridge4974fcb2019-08-31 02:24:50 +000064# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000065# tag: 2.1.1
66# adapter_open_onu:
David Bainbridge4974fcb2019-08-31 02:24:50 +000067# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000068# tag: 2.1.0
69# adapter_simulated_olt:
David Bainbridge4974fcb2019-08-31 02:24:50 +000070# repository: voltha/voltha-adapter-simulated-olt
David Bainbridge90fd8e32019-08-21 23:32:47 +000071# tag: 2.1.1
David Bainbridge4974fcb2019-08-31 02:24:50 +000072# adapter_simulated_onu:
73# repository: voltha/voltha-adapter-simulated-onu
David Bainbridge90fd8e32019-08-21 23:32:47 +000074# tag: 2.1.1
75# bbsim:
David Bainbridgefce8af42020-03-17 12:50:39 -070076# repository: voltha/bbsim
77# tag: master
David Bainbridge52e6e9d2020-03-23 13:48:27 -070078# ofagent:
79# repository: voltha/voltha-ofagent-go
80# tag: master
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 Bainbridge33e56c72020-06-11 11:39:56 -070084# START_OPENONU_ADAPTER_GO - Uncomment the following block to use the
85# Go implementation of the openonu-adapter
86# adapter_open_onu_go:
87# repository: voltha-openonu-adapter-go
88# tag: master
89# END_OPENONU_ADAPTER_GO
David Bainbridgee10f6d52019-07-25 00:28:13 +000090
David Bainbridgec7220622020-05-28 12:31:47 -070091etcd:
David Bainbridgec7220622020-05-28 12:31:47 -070092 extraEnv:
93 - name: ETCD_AUTO_COMPACTION_RETENTION
94 value: "1"
95 - name: ETCD_SNAPSHOT_COUNT
96 value: "100000"
97 - name: ETCD_HEARTBEAT_INTERVAL
98 value: "100"
99 - name: ETCD_ELECTION_TIMEOUT
100 value: "1000"
101 - name: ETCD_MAX_SNAPSHOTS
102 value: "5"
103 - name: ETCD_QUOTA_BACKEND_BYTES
104 value: "0"
105 - name: ETCD_MAX_REQUEST_BYTES
106 value: "1572864"
107 - name: ETCD_GRPC_KEEPALIVE_MIN_TIME
108 value: "5s"
109 - name: ETCD_GRPC_KEEPALIVE_TIMEOUT
110 value: "5s"
111 - name: ETCD_DEBUG
112 value: "false"
David Bainbridgefce8af42020-03-17 12:50:39 -0700113
114kafka:
David Bainbridgec7220622020-05-28 12:31:47 -0700115 zookeeper:
David Bainbridgec7220622020-05-28 12:31:47 -0700116 persistence:
117 enabled: false
David Bainbridgec7220622020-05-28 12:31:47 -0700118 persistence:
119 enabled: false
120 envOverrides:
121 KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR
122 KAFKA_TOOLS_LOG4J_LOGLEVEL: ERROR
123 # yamllint disable-line rule:line-length
124 KAFKA_LOG4J.LOGGERS: "kafka.zookeeper=ERROR,state.change.logger=ERROR,kafka=ERROR,kafka.controller=ERROR"
125 KAFKA_LOG_RETENTION_HOURS: 1
126 KAFKA_DEFAULT_REPLICATION_FACTOR: 1
127 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
David Bainbridgefce8af42020-03-17 12:50:39 -0700128
David Bainbridgea965ca22020-06-09 17:45:04 -0700129# voltha:
130# fullNameOverride: voltha
131
132# open-olt:
133# fullNameOverride: voltha-adapter-openolt
134
135# open-onu:
136# fullNameOverride: voltha-adapter-openonu
137
David Bainbridge33e56c72020-06-11 11:39:56 -0700138onos:
139 image:
140 repository: voltha/voltha-onos
141 tag: master
142 pullPolicy: Always
143 onos_env:
144 - name: POD_IP
145 valueFrom:
146 fieldRef:
147 fieldPath: status.podIP
148 - name: NAMESPACE
149 valueFrom:
150 fieldRef:
151 fieldPath: metadata.namespace
152 - name: ONOS_APPS
153 value: "drivers,openflow-base,hostprovider"
Andrea Campanella8b336722020-08-03 10:34:32 +0200154 apps:
155 - org.onosproject.lldpprovider
156 - org.onosproject.openflow-base
157 - org.onosproject.gui2
158 - org.onosproject.drivers
159 - org.onosproject.mcast
160 - org.opencord.kafka
161 - org.opencord.sadis
162 - org.opencord.dhcpl2relay
Andrea Campanella8b336722020-08-03 10:34:32 +0200163 - org.opencord.igmpproxy
164 - org.opencord.mcast
165 - org.opencord.olt
166 - org.opencord.aaa
Andrea Campanella01fae922020-09-23 17:23:23 +0200167 java_opts: >
168 -XX:+UseG1GC
169 -XX:MaxGCPauseMillis=200
170 -XX:-UseContainerSupport
171 -Dkaraf.log.console=INFO
172 -Dds.lock.timeout.milliseconds=10000
David Bainbridge33e56c72020-06-11 11:39:56 -0700173 # No persistent volume in Atomix to have clean state for each re-deploy of ONOS
174 atomix:
175 persistence:
176 enabled: false
Andrea Campanellae2c88362020-09-24 17:21:34 +0200177 java_opts: >
178 -Xmx2G
179 -XX:-UseContainerSupport
Andrea Campanella7e30faf2020-05-05 13:26:05 +0200180
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700181# Customization for BBSIM
David Bainbridge33e56c72020-06-11 11:39:56 -0700182bbsim:
183 nni: 1
184 pon: 1
185 onu: 1
186 sadisFormat: "att"
187 kafkaEventTopic: "bbsim"
188 enableEvents: false
David Bainbridge4974fcb2019-08-31 02:24:50 +0000189
David Bainbridge879439b2020-06-12 15:59:35 -0700190# Customization for BBSIM SADIS Servier
191sadis:
192 config:
193 bbsim_sadis_server:
194 sleep_time: 5s
195
divyadesai59f987a2020-05-27 12:11:33 +0000196# START EFK Setup to push voltha logs
197# elasticstack config
198# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
199elasticsearch:
200 replicas: 1
201 minimumMasterNodes: 1
202 # set cpu and memory configuration
203 resources:
204 requests:
205 cpu: "400m"
206 memory: "1Gi"
207 limits:
208 cpu: "1000m"
209 memory: "2Gi"
210 # setup persistence volume.By default persistence volumeclaim is disabled
211 volumeClaimTemplate:
212 accessModes: ["ReadWriteOnce"]
213 resources:
214 requests:
215 storage: 5Gi
216 persistence:
217 enabled: false
218 # setup cluster health status as yellow
219 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
220
221# kibana config
222# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
223kibana:
224 elasticsearchHosts: "http://elasticsearch-master:9200"
225
226# fluentd-elasticsearch config
227# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
228fluentd-elasticsearch:
229 elasticsearch:
230 # set elasticsearch host
231 hosts: ["elasticsearch-master:9200"]
232 sslVerify: false
233
Girish Kumarcc5f9172020-06-10 13:34:31 +0000234# Increase maxTraces to retain Traces for longer duration
235# But tracing pod will consume more memory
236tracing:
237 maxTraces: 500000
238
David Bainbridge4974fcb2019-08-31 02:24:50 +0000239# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
240# The VOLTHA charts have support for adding extra labels to deployments and
241# pods. These extra labels can be used to integrate with other utilities
242# such as kube-monkey to add a bit of chaos to the cluster. Below are some
243# settings that can be uncommented to opt-in VOLTHA deployments/pods to
244# kube-monkey. For example, if you want ALL deployments and pods to opt-in
245# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
246# If you want to be more selected then comment the blocks that pertain to the
247# targets you care about.
248
Zack Williamsded60cb2020-04-13 10:02:20 -0700249# extra_deployment_labels:
250# kube-monkey/enabled: enabled
251# kube-monkey/identifier: monkey-victim
252# kube-monkey/mtbf: 1
253# kube-monkey/kill-mode: fixed
254# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000255#
Zack Williamsded60cb2020-04-13 10:02:20 -0700256# extra_pod_labels:
257# kube-monkey/enabled: enabled
258# kube-monkey/identifier: monkey-victim
259# kube-monkey/mtbf: 1
260# kube-monkey/kill-mode: fixed
261# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000262#
Zack Williamsded60cb2020-04-13 10:02:20 -0700263# rw_core_deployment_labels:
264# kube-monkey/enabled: enabled
265# kube-monkey/identifier: monkey-victim
266# kube-monkey/mtbf: 1
267# kube-monkey/kill-mode: fixed
268# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000269#
Zack Williamsded60cb2020-04-13 10:02:20 -0700270# rw_core_pod_labels:
271# kube-monkey/enabled: enabled
272# kube-monkey/identifier: monkey-victim
273# kube-monkey/mtbf: 1
274# kube-monkey/kill-mode: fixed
275# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000276#
Zack Williamsded60cb2020-04-13 10:02:20 -0700277# ofagent_deployment_labels:
278# kube-monkey/enabled: enabled
279# kube-monkey/identifier: monkey-victim
280# kube-monkey/mtbf: 1
281# kube-monkey/kill-mode: fixed
282# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000283#
Zack Williamsded60cb2020-04-13 10:02:20 -0700284# ofagent_pod_labels:
285# kube-monkey/enabled: enabled
286# kube-monkey/identifier: monkey-victim
287# kube-monkey/mtbf: 1
288# kube-monkey/kill-mode: fixed
289# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000290#
Zack Williamsded60cb2020-04-13 10:02:20 -0700291# openolt_deployment_labels:
292# kube-monkey/enabled: enabled
293# kube-monkey/identifier: monkey-victim
294# kube-monkey/mtbf: 1
295# kube-monkey/kill-mode: fixed
296# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000297#
Zack Williamsded60cb2020-04-13 10:02:20 -0700298# openolt_pod_labels:
299# kube-monkey/enabled: enabled
300# kube-monkey/identifier: monkey-victim
301# kube-monkey/mtbf: 1
302# kube-monkey/kill-mode: fixed
303# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000304#
Zack Williamsded60cb2020-04-13 10:02:20 -0700305# openonu_deployment_labels:
306# kube-monkey/enabled: enabled
307# kube-monkey/identifier: monkey-victim
308# kube-monkey/mtbf: 1
309# kube-monkey/kill-mode: fixed
310# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000311#
Zack Williamsded60cb2020-04-13 10:02:20 -0700312# openonu_pod_labels:
313# kube-monkey/enabled: enabled
314# kube-monkey/identifier: monkey-victim
315# kube-monkey/mtbf: 1
316# kube-monkey/kill-mode: fixed
317# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000318#
Zack Williamsded60cb2020-04-13 10:02:20 -0700319# simolt_deployment_labels:
320# kube-monkey/enabled: enabled
321# kube-monkey/identifier: monkey-victim
322# kube-monkey/mtbf: 1
323# kube-monkey/kill-mode: fixed
324# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000325#
Zack Williamsded60cb2020-04-13 10:02:20 -0700326# simolt_pod_labels:
327# kube-monkey/enabled: enabled
328# kube-monkey/identifier: monkey-victim
329# kube-monkey/mtbf: 1
330# kube-monkey/kill-mode: fixed
331# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000332#
Zack Williamsded60cb2020-04-13 10:02:20 -0700333# simonu_deployment_labels:
334# kube-monkey/enabled: enabled
335# kube-monkey/identifier: monkey-victim
336# kube-monkey/mtbf: 1
337# kube-monkey/kill-mode: fixed
338# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000339#
Zack Williamsded60cb2020-04-13 10:02:20 -0700340# simonu_pod_labels:
341# kube-monkey/enabled: enabled
342# kube-monkey/identifier: monkey-victim
343# kube-monkey/mtbf: 1
344# kube-monkey/kill-mode: fixed
345# kube-monkey/kill-value: 1