blob: 41c05b2d64e0446b33473a6fa37b3d7d115bab1d [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 Scandolodcd29f52019-10-07 15:42:42 -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 Bainbridge801a0ec2019-09-26 15:48:06 +000024defaults:
Andy Bavier8fe14e02019-10-16 09:57:27 -070025 image_tag: master
Matteo Scandoloe0829b52020-05-08 14:23: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
Holger Hildebrandt03ca7692020-04-14 10:55:43 +000031# 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`.
37#
38# Along with this change you will also may need to set the Docker image
39# information below (search for START_OPENONU_ADAPTER_GO).
40use_openonu_adapter_go: false
41
David Bainbridgee10f6d52019-07-25 00:28:13 +000042images:
David Bainbridgeac7f8072019-08-01 22:15:33 +000043 onos:
David Bainbridged31d6122019-08-13 19:37:59 +000044 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 Scandolodcd29f52019-10-07 15:42:42 -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.
Andy Bavier8fe14e02019-10-16 09:57:27 -070051 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 Bainbridgebb32bc12019-08-23 22:54:49 +000060# repository: voltha/voltha-openolt-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000061# tag: 2.1.1
62# adapter_open_onu:
David Bainbridgebb32bc12019-08-23 22:54:49 +000063# repository: voltha/voltha-openonu-adapter
David Bainbridge90fd8e32019-08-21 23:32:47 +000064# tag: 2.1.0
Andy Bavier8fe14e02019-10-16 09:57:27 -070065# adapter_simulated_olt:
66# repository: voltha/voltha-adapter-simulated-olt
David Bainbridgefce8af42020-03-17 12:50:39 -070067# tag: 2.1.1
Andy Bavier8fe14e02019-10-16 09:57:27 -070068# adapter_simulated_onu:
69# repository: voltha/voltha-adapter-simulated-onu
David Bainbridgefce8af42020-03-17 12:50:39 -070070# tag: 2.1.1
Andy Bavier8fe14e02019-10-16 09:57:27 -070071# bbsim:
72# repository: voltha/bbsim
73# tag: master
David Bainbridgeed476572020-06-02 14:05:45 -070074# ofagent:
David Bainbridge52e6e9d2020-03-23 13:48:27 -070075# repository: voltha/voltha-ofagent-go
76# tag: master
David Bainbridge90fd8e32019-08-21 23:32:47 +000077# rw_core:
David Bainbridgebb32bc12019-08-23 22:54:49 +000078# repository: voltha/voltha-rw-core
David Bainbridge90fd8e32019-08-21 23:32:47 +000079# tag: 2.1.1
David Bainbridgec7220622020-05-28 12:31:47 -070080# START_OPENONU_ADAPTER_GO - Uncomment the following block to use the
81# Go implementation of the openonu-adapter
Holger Hildebrandt03ca7692020-04-14 10:55:43 +000082# 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: 1
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 K. Bainbridge4ecc1262019-07-01 13:39:11 -0700110
David Bainbridgefce8af42020-03-17 12:50:39 -0700111kafka:
David Bainbridgec7220622020-05-28 12:31:47 -0700112 zookeeper:
113 replicaCount: 1
114 persistence:
115 enabled: false
David Bainbridgefce8af42020-03-17 12:50:39 -0700116 replicas: 1
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 K. Bainbridge4ecc1262019-07-01 13:39:11 -0700128onos_env:
Zack Williamsded60cb2020-04-13 10:02:20 -0700129 - name: POD_IP
130 valueFrom:
131 fieldRef:
132 fieldPath: status.podIP
133 - name: NAMESPACE
134 valueFrom:
135 fieldRef:
136 fieldPath: metadata.namespace
137 - name: ONOS_APPS
138 value: "drivers,openflow-base,hostprovider"
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700139
Andrea Campanella7e30faf2020-05-05 13:26:05 +0200140# No persistent volume in Atomix to have clean state for each re-deploy of ONOS
141atomix:
142 persistence:
143 enabled: false
144
David K. Bainbridgef1c8f4c2019-07-01 14:30:38 -0700145# Customization for BBSIM
146kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
Hardik Windlass678cafb2020-02-11 15:34:37 +0000147pon: 1
148onu: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000149
150# SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR
151# The VOLTHA charts have support for adding extra labels to deployments and
152# pods. These extra labels can be used to integrate with other utilities
153# such as kube-monkey to add a bit of chaos to the cluster. Below are some
154# settings that can be uncommented to opt-in VOLTHA deployments/pods to
155# kube-monkey. For example, if you want ALL deployments and pods to opt-in
156# then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks.
157# If you want to be more selected then comment the blocks that pertain to the
158# targets you care about.
159
Zack Williamsded60cb2020-04-13 10:02:20 -0700160# extra_deployment_labels:
161# kube-monkey/enabled: enabled
162# kube-monkey/identifier: monkey-victim
163# kube-monkey/mtbf: 1
164# kube-monkey/kill-mode: fixed
165# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000166#
Zack Williamsded60cb2020-04-13 10:02:20 -0700167# extra_pod_labels:
168# kube-monkey/enabled: enabled
169# kube-monkey/identifier: monkey-victim
170# kube-monkey/mtbf: 1
171# kube-monkey/kill-mode: fixed
172# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000173#
Zack Williamsded60cb2020-04-13 10:02:20 -0700174# rw_core_deployment_labels:
175# kube-monkey/enabled: enabled
176# kube-monkey/identifier: monkey-victim
177# kube-monkey/mtbf: 1
178# kube-monkey/kill-mode: fixed
179# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000180#
Zack Williamsded60cb2020-04-13 10:02:20 -0700181# rw_core_pod_labels:
182# kube-monkey/enabled: enabled
183# kube-monkey/identifier: monkey-victim
184# kube-monkey/mtbf: 1
185# kube-monkey/kill-mode: fixed
186# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000187#
Zack Williamsded60cb2020-04-13 10:02:20 -0700188# ofagent_deployment_labels:
189# kube-monkey/enabled: enabled
190# kube-monkey/identifier: monkey-victim
191# kube-monkey/mtbf: 1
192# kube-monkey/kill-mode: fixed
193# kube-monkey/kill-value: 1
David Bainbridge801a0ec2019-09-26 15:48:06 +0000194#
Zack Williamsded60cb2020-04-13 10:02:20 -0700195# ofagent_pod_labels:
196# kube-monkey/enabled: enabled
197# kube-monkey/identifier: monkey-victim
198# kube-monkey/mtbf: 1
199# kube-monkey/kill-mode: fixed
200# kube-monkey/kill-value: 1
David Bainbridge801a0ec2019-09-26 15:48:06 +0000201#
Zack Williamsded60cb2020-04-13 10:02:20 -0700202# openolt_deployment_labels:
203# kube-monkey/enabled: enabled
204# kube-monkey/identifier: monkey-victim
205# kube-monkey/mtbf: 1
206# kube-monkey/kill-mode: fixed
207# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000208#
Zack Williamsded60cb2020-04-13 10:02:20 -0700209# openolt_pod_labels:
210# kube-monkey/enabled: enabled
211# kube-monkey/identifier: monkey-victim
212# kube-monkey/mtbf: 1
213# kube-monkey/kill-mode: fixed
214# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000215#
Zack Williamsded60cb2020-04-13 10:02:20 -0700216# openonu_deployment_labels:
217# kube-monkey/enabled: enabled
218# kube-monkey/identifier: monkey-victim
219# kube-monkey/mtbf: 1
220# kube-monkey/kill-mode: fixed
221# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000222#
Zack Williamsded60cb2020-04-13 10:02:20 -0700223# openonu_pod_labels:
224# kube-monkey/enabled: enabled
225# kube-monkey/identifier: monkey-victim
226# kube-monkey/mtbf: 1
227# kube-monkey/kill-mode: fixed
228# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000229#
Zack Williamsded60cb2020-04-13 10:02:20 -0700230# simolt_deployment_labels:
231# kube-monkey/enabled: enabled
232# kube-monkey/identifier: monkey-victim
233# kube-monkey/mtbf: 1
234# kube-monkey/kill-mode: fixed
235# kube-monkey/kill-value: 1
David Bainbridge4974fcb2019-08-31 02:24:50 +0000236#
Zack Williamsded60cb2020-04-13 10:02:20 -0700237# simolt_pod_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# simonu_deployment_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# simonu_pod_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