blob: 727dd564c85cc8a5a0cd3563208e2992bf0fcb89 [file] [log] [blame]
Joey Armstrong623b29d2024-02-10 21:12:11 -05001# Copyright 2020-2024 Open Networking Foundation (ONF) and the ONF Contributors
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -08002#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# Default values for voltha-infra.
16# This is a YAML-formatted file.
17
Matteo Scandoloa0fc9402021-04-09 16:09:03 -070018global:
19 image_registry: ''
20 image_org: "voltha/"
21 image_tag: ~
22 image_pullPolicy: "Always"
23
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080024# components config
25onos-classic:
26 enabled: true
27 replicas: 1
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080028 image:
29 pullPolicy: Always
30 repository: voltha/voltha-onos
Joey Armstrong623b29d2024-02-10 21:12:11 -050031 tag: 5.1.8
Andrea Campanellaebb86872021-02-19 14:31:17 +010032 apps:
33 - org.onosproject.lldpprovider
34 - org.onosproject.openflow-base
35 - org.onosproject.gui2
36 - org.onosproject.drivers
37 - org.onosproject.mcast
Andrea Campanella7eb74562021-06-07 15:15:01 +020038 - org.onosproject.segmentrouting
Andrea Campanellaebb86872021-02-19 14:31:17 +010039 - org.opencord.kafka
40 - org.opencord.sadis
41 - org.opencord.dhcpl2relay
42 - org.opencord.igmpproxy
43 - org.opencord.mcast
44 - org.opencord.olt
45 - org.opencord.aaa
Andrea Campanella1d284452021-04-20 10:23:42 +020046 java_opts: >
47 -XX:+UseG1GC
48 -XX:MaxGCPauseMillis=200
49 -XX:-UseContainerSupport
50 -Dkaraf.log.console=INFO
51 -Dds.lock.timeout.milliseconds=10000
Andrea Campanellac323a822021-12-15 14:28:07 +010052 -Dlog4j2.formatMsgNoLookups=true
Andrea Campanella1d284452021-04-20 10:23:42 +020053 atomix:
Cristina de Francisco69fa3032024-11-13 14:48:05 +010054 podDisruptionBudget:
55 enabled: false
Andrea Campanella1d284452021-04-20 10:23:42 +020056 replicas: 0
57 persistence:
58 enabled: false
59 java_opts: >
60 -Xmx2G
61 -XX:-UseContainerSupport
Matteo Scandolof65e8752021-07-20 13:53:44 -070062 config:
63 enabled: true
Matteo Scandolodb69da62021-07-22 09:44:59 -070064 reconcile_mode: false
Matteo Scandolof65e8752021-07-20 13:53:44 -070065 netcfg: >
66 {
67 "apps" : {
68 "org.opencord.dhcpl2relay" : {
69 "dhcpl2relay" : {
70 "useOltUplinkForServerPktInOut" : true
71 }
72 },
73 "org.opencord.kafka": {
74 "kafka" : {
75 "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092"
76 }
77 },
78 "org.opencord.aaa" : {
79 "AAA": {
80 "radiusConnectionType" : "socket",
81 "radiusHost": "{{ .Release.Name }}-freeradius.{{ .Release.Namespace }}.svc",
82 "radiusServerPort": "1812",
83 "radiusSecret": "SECRET"
84 }
85 },
86 "org.opencord.sadis": {
87 "sadis": {
88 "integration": {
89 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s",
90 "cache": {
91 "enabled": true,
92 "maxsize": 50,
93 "ttl": "PT1m"
94 }
95 }
96 },
97 "bandwidthprofile": {
98 "integration": {
99 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s",
100 "cache": {
101 "enabled": true,
102 "maxsize": 50,
103 "ttl": "PT1m"
104 }
105 }
106 }
107 }
108 }
109 }
110 componentConfig:
111 "org.opencord.olt.impl.OltFlowService": >
112 {
113 "enableDhcpOnNni": "true",
114 "defaultTechProfileId": "64",
115 "enableIgmpOnNni": "false",
116 "enableEapol": "true",
117 "enableDhcpV6": "false",
118 "enableDhcpV4": "true"
119 }
120 "org.onosproject.provider.lldp.impl.LldpLinkProvider": >
121 {
122 "enabled": "false"
123 }
124 "org.onosproject.net.flow.impl.FlowRuleManager": >
125 {
126 "purgeOnDisconnection": "false"
127 }
128 "org.onosproject.net.meter.impl.MeterManager": >
129 {
130 "purgeOnDisconnection": "false"
131 }
132 "org.onosproject.net.group.impl.GroupManager": >
133 {
134 "purgeOnDisconnection": "false"
135 }
Andrea Campanellae383e022022-06-29 16:19:22 +0200136 "org.onosproject.net.device.impl.DeviceManager": >
137 {
138 "roleTimeoutSeconds": "120"
139 }
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800140
141bbsim-sadis-server:
142 enabled: true
143 replicas: 1
144
145radius:
146 enabled: true
147
148etcd:
149 enabled: true
Akash Reddy Kankanala2487d8e2025-10-14 19:19:09 +0530150 image:
151 repository: bitnamilegacy/etcd
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700152
153 # ETCD defrag creates a CronJob that runs "etcdctl defrag --cluster"
154 # on a defined schedule
155 defrag:
Matteo Scandolodb69da62021-07-22 09:44:59 -0700156 enabled: false
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700157 schedule: "*/5 * * * *"
Matteo Scandolof65e8752021-07-20 13:53:44 -0700158 image:
159 registry: '{{ .Values.global.image_registry }}'
160 repository: 'opennetworking/utils'
161 tag: 0.2.0
162 pullPolicy: 'IfNotPresent'
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700163
David K. Bainbridge637751d2021-03-25 22:18:08 +0000164 ingress:
165 enabled: false
166 annotations:
167 kubernetes.io/ingress.class: "nginx"
168 nginx.ingress.kubernetes.io/ssl-redirect: "true"
169 nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
170 nginx.ingress.kubernetes.io/grpc-backend: "true"
171 enableVirtualHosts: false
172 hosts:
173 - host:
174 paths:
175 - "/etcdserverpb.KV/"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800176 auth:
177 rbac:
Andrea Campanella14f3db72022-06-10 09:12:34 -0700178 create: false
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800179 persistence:
180 enabled: false
181 statefulset:
182 replicaCount: 1
Joey Armstrong6fdbccf2023-01-25 20:20:10 -0500183 service:
184 port: 2379
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700185 autoCompactionMode: "revision"
186 autoCompactionRetention: 1
187 extraEnvVars:
188 - name: ETCD_ELECTION_TIMEOUT
189 value: "5000"
190 - name: ETCD_HEARTBEAT_INTERVAL
191 value: "1000"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800192
193kafka:
194 enabled: true
Akash Reddy Kankanala2487d8e2025-10-14 19:19:09 +0530195 image:
196 repository: bitnamilegacy/kafka
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800197 replicaCount: 1
198 persistence:
199 enabled: false
200 zookeeper:
Akash Reddy Kankanala2487d8e2025-10-14 19:19:09 +0530201 image:
202 repository: bitnamilegacy/zookeeper
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800203 replicaCount: 1
204 persistence:
205 enabled: false
206 service:
207 port: 9092
208
209voltha-tracing:
210 enabled: false
211 tracing:
212 maxTraces: 500000
213
214efk:
215 enabled: false
216
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800217# START EFK Setup to push voltha logs
218# elasticstack config
219# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
220elasticsearch:
221 replicas: 1
222 minimumMasterNodes: 1
223 # set cpu and memory configuration
224 resources:
225 requests:
226 cpu: "400m"
227 memory: "1Gi"
228 limits:
229 cpu: "1000m"
230 memory: "2Gi"
231 # setup persistence volume.By default persistence volumeclaim is disabled
232 volumeClaimTemplate:
233 accessModes: ["ReadWriteOnce"]
234 resources:
235 requests:
236 storage: 5Gi
237 persistence:
238 enabled: false
239 # setup cluster health status as yellow
240 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
241
242# kibana config
243# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
244kibana:
245 elasticsearchHosts: "http://elasticsearch-master:9200"
246
247# fluentd-elasticsearch config
248# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
249fluentd-elasticsearch:
250 elasticsearch:
251 # set elasticsearch host
252 hosts: ["elasticsearch-master:9200"]
253 sslVerify: false
Tinoj Josepha9e53c92022-08-23 10:08:46 +0530254
255redis:
256 enabled: false
Akash Reddy Kankanala2487d8e2025-10-14 19:19:09 +0530257 image:
258 repository: bitnamilegacy/redis
Tinoj Josepha9e53c92022-08-23 10:08:46 +0530259 auth:
260 enabled: false
261 volumePermissions:
262 enabled: true
Akash Reddy Kankanala2487d8e2025-10-14 19:19:09 +0530263 image:
264 repository: bitnamilegacy/bitnami-shell-archived
Tinoj Josepha9e53c92022-08-23 10:08:46 +0530265 networkPolicy:
266 enabled: false
267 replica:
268 replicaCount: 1
269 sentinel:
270 enabled: true
Akash Reddy Kankanala2487d8e2025-10-14 19:19:09 +0530271 image:
272 repository: bitnamilegacy/redis-sentinel
Tinoj Josepha9e53c92022-08-23 10:08:46 +0530273 masterSet: sebaRedis
274 commonConfiguration: |-
275 # The filename where to dump the DB
276 dbfilename dump.rdb