blob: ab41a9966421801b512a209c89ddfcb5d34adc87 [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 Bainbridgec7220622020-05-28 12:31:47 -070027private_etcd_cluster: false
28private_kafka_cluster: false
29
David Bainbridgefce8af42020-03-17 12:50:39 -070030# OFAGENT IMPLEMENTATION
31# ----------------------
32# There are currently two implementations of OFAGENT: the original written in
33# Python and the reimplementation written in Go. The variable `use_ofagent_go`
34# can be used to optionally select the implementation. The Go version is the
35# version to be part of the official release and is the default. The Python
36# verison has been deprecated and is no longer being actively workes, but is
37# being left as an option for this release.
38#
39# Along with this change you will also may need to set the Docker image
40# information below (search for START_OFAGENT_GO).
41use_ofagent_go: true
42
David Bainbridgee10f6d52019-07-25 00:28:13 +000043images:
David Bainbridged31d6122019-08-13 19:37:59 +000044 onos:
David Bainbridged31d6122019-08-13 19:37:59 +000045 repository: voltha/voltha-onos
David Bainbridge90fd8e32019-08-21 23:32:47 +000046 # IMAGE_SELECTION
47 # ---------------
48 # The helm chart used to deploy ONOS is the public ONOS helm chart so,
49 # there is a need to specify the exact image repository and image tag.
Matteo Scandolo209547b2019-11-01 14:48:15 -070050 # If you would like to use the "master", "voltha-2.1", or other image
David Bainbridge90fd8e32019-08-21 23:32:47 +000051 # just replace the "tag" value below.
David Bainbridge70c0ea82019-11-14 23:25:26 +000052 tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000053
54# IMAGE_SELECTION
55# ---------------
56# Below are a list of all the images utilized by kind-voltha. This list is
57# provided as a conveinence if you would like to override on a per image
58# basis. If you are using the defaults, master, or voltha-2.1 branch there
59# is no need to utilize this list.
David Bainbridge90fd8e32019-08-21 23:32:47 +000060# adapter_open_olt:
David Bainbridge4974fcb2019-08-31 02:24:50 +000061# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000062# tag: 2.1.1
63# adapter_open_onu:
David Bainbridge4974fcb2019-08-31 02:24:50 +000064# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000065# tag: 2.1.0
66# adapter_simulated_olt:
David Bainbridge4974fcb2019-08-31 02:24:50 +000067# repository: voltha/voltha-adapter-simulated-olt
David Bainbridge90fd8e32019-08-21 23:32:47 +000068# tag: 2.1.1
David Bainbridge4974fcb2019-08-31 02:24:50 +000069# adapter_simulated_onu:
70# repository: voltha/voltha-adapter-simulated-onu
David Bainbridge90fd8e32019-08-21 23:32:47 +000071# tag: 2.1.1
72# bbsim:
David Bainbridgefce8af42020-03-17 12:50:39 -070073# repository: voltha/bbsim
74# tag: master
David Bainbridgec7220622020-05-28 12:31:47 -070075# START_OFAGENT_GO - Comment the following block to use the
76# Python implementation of the ofagent
David Bainbridge52e6e9d2020-03-23 13:48:27 -070077# ofagent:
78# repository: voltha/voltha-ofagent-go
79# tag: master
David Bainbridgefce8af42020-03-17 12:50:39 -070080# END_OFAGENT_GO
David Bainbridge90fd8e32019-08-21 23:32:47 +000081# ofagent:
David Bainbridge52e6e9d2020-03-23 13:48:27 -070082# repository: voltha/voltha-ofagent-py
David Bainbridge90fd8e32019-08-21 23:32:47 +000083# tag: 2.1.1
David Bainbridge90fd8e32019-08-21 23:32:47 +000084# rw_core:
David Bainbridge4974fcb2019-08-31 02:24:50 +000085# repository: voltha/voltha-rw-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000086# tag: 2.1.1
David Bainbridgee10f6d52019-07-25 00:28:13 +000087
David Bainbridgec7220622020-05-28 12:31:47 -070088etcd:
89 replicas: 3
90 extraEnv:
91 - name: ETCD_AUTO_COMPACTION_RETENTION
92 value: "1"
93 - name: ETCD_SNAPSHOT_COUNT
94 value: "100000"
95 - name: ETCD_HEARTBEAT_INTERVAL
96 value: "100"
97 - name: ETCD_ELECTION_TIMEOUT
98 value: "1000"
99 - name: ETCD_MAX_SNAPSHOTS
100 value: "5"
101 - name: ETCD_QUOTA_BACKEND_BYTES
102 value: "0"
103 - name: ETCD_MAX_REQUEST_BYTES
104 value: "1572864"
105 - name: ETCD_GRPC_KEEPALIVE_MIN_TIME
106 value: "5s"
107 - name: ETCD_GRPC_KEEPALIVE_TIMEOUT
108 value: "5s"
109 - name: ETCD_DEBUG
110 value: "false"
David Bainbridgefce8af42020-03-17 12:50:39 -0700111
112kafka:
David Bainbridgec7220622020-05-28 12:31:47 -0700113 zookeeper:
114 replicaCount: 3
115 persistence:
116 enabled: false
David Bainbridgefce8af42020-03-17 12:50:39 -0700117 replicas: 3
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 K. Bainbridge4ecc1262019-07-01 13:39:11 -0700129onos_env:
Zack Williamsded60cb2020-04-13 10:02:20 -0700130 - name: POD_IP
131 valueFrom:
132 fieldRef:
133 fieldPath: status.podIP
134 - name: NAMESPACE
135 valueFrom:
136 fieldRef:
137 fieldPath: metadata.namespace
138 - name: ONOS_APPS
139 value: "drivers,openflow-base,hostprovider"
David K. Bainbridge4ecc1262019-07-01 13:39:11 -0700140
Andrea Campanella7e30faf2020-05-05 13:26:05 +0200141# No persistent volume in Atomix to have clean state for each re-deploy of ONOS
142atomix:
143 persistence:
144 enabled: false
145
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700146# Customization for BBSIM
147kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
Matteo Scandolod267bb92020-02-13 10:47:44 -0800148pon: 1
149onu: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000150
151# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
152# The VOLTHA charts have support for adding extra labels to deployments and
153# pods. These extra labels can be used to integrate with other utilities
154# such as kube-monkey to add a bit of chaos to the cluster. Below are some
155# settings that can be uncommented to opt-in VOLTHA deployments/pods to
156# kube-monkey. For example, if you want ALL deployments and pods to opt-in
157# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
158# If you want to be more selected then comment the blocks that pertain to the
159# targets you care about.
160
Zack Williamsded60cb2020-04-13 10:02:20 -0700161# extra_deployment_labels:
162# kube-monkey/enabled: enabled
163# kube-monkey/identifier: monkey-victim
164# kube-monkey/mtbf: 1
165# kube-monkey/kill-mode: fixed
166# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000167#
Zack Williamsded60cb2020-04-13 10:02:20 -0700168# extra_pod_labels:
169# kube-monkey/enabled: enabled
170# kube-monkey/identifier: monkey-victim
171# kube-monkey/mtbf: 1
172# kube-monkey/kill-mode: fixed
173# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000174#
Zack Williamsded60cb2020-04-13 10:02:20 -0700175# rw_core_deployment_labels:
176# kube-monkey/enabled: enabled
177# kube-monkey/identifier: monkey-victim
178# kube-monkey/mtbf: 1
179# kube-monkey/kill-mode: fixed
180# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000181#
Zack Williamsded60cb2020-04-13 10:02:20 -0700182# rw_core_pod_labels:
183# kube-monkey/enabled: enabled
184# kube-monkey/identifier: monkey-victim
185# kube-monkey/mtbf: 1
186# kube-monkey/kill-mode: fixed
187# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000188#
Zack Williamsded60cb2020-04-13 10:02:20 -0700189# ofagent_deployment_labels:
190# kube-monkey/enabled: enabled
191# kube-monkey/identifier: monkey-victim
192# kube-monkey/mtbf: 1
193# kube-monkey/kill-mode: fixed
194# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000195#
Zack Williamsded60cb2020-04-13 10:02:20 -0700196# ofagent_pod_labels:
197# kube-monkey/enabled: enabled
198# kube-monkey/identifier: monkey-victim
199# kube-monkey/mtbf: 1
200# kube-monkey/kill-mode: fixed
201# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000202#
Zack Williamsded60cb2020-04-13 10:02:20 -0700203# openolt_deployment_labels:
204# kube-monkey/enabled: enabled
205# kube-monkey/identifier: monkey-victim
206# kube-monkey/mtbf: 1
207# kube-monkey/kill-mode: fixed
208# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000209#
Zack Williamsded60cb2020-04-13 10:02:20 -0700210# openolt_pod_labels:
211# kube-monkey/enabled: enabled
212# kube-monkey/identifier: monkey-victim
213# kube-monkey/mtbf: 1
214# kube-monkey/kill-mode: fixed
215# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000216#
Zack Williamsded60cb2020-04-13 10:02:20 -0700217# openonu_deployment_labels:
218# kube-monkey/enabled: enabled
219# kube-monkey/identifier: monkey-victim
220# kube-monkey/mtbf: 1
221# kube-monkey/kill-mode: fixed
222# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000223#
Zack Williamsded60cb2020-04-13 10:02:20 -0700224# openonu_pod_labels:
225# kube-monkey/enabled: enabled
226# kube-monkey/identifier: monkey-victim
227# kube-monkey/mtbf: 1
228# kube-monkey/kill-mode: fixed
229# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000230#
Zack Williamsded60cb2020-04-13 10:02:20 -0700231# simolt_deployment_labels:
232# kube-monkey/enabled: enabled
233# kube-monkey/identifier: monkey-victim
234# kube-monkey/mtbf: 1
235# kube-monkey/kill-mode: fixed
236# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000237#
Zack Williamsded60cb2020-04-13 10:02:20 -0700238# simolt_pod_labels:
239# kube-monkey/enabled: enabled
240# kube-monkey/identifier: monkey-victim
241# kube-monkey/mtbf: 1
242# kube-monkey/kill-mode: fixed
243# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000244#
Zack Williamsded60cb2020-04-13 10:02:20 -0700245# simonu_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# simonu_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