blob: f6c86b7cb58bfa01eb8c2ee34558382c21990343 [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
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700150
151 # ETCD defrag creates a CronJob that runs "etcdctl defrag --cluster"
152 # on a defined schedule
153 defrag:
Matteo Scandolodb69da62021-07-22 09:44:59 -0700154 enabled: false
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700155 schedule: "*/5 * * * *"
Matteo Scandolof65e8752021-07-20 13:53:44 -0700156 image:
157 registry: '{{ .Values.global.image_registry }}'
158 repository: 'opennetworking/utils'
159 tag: 0.2.0
160 pullPolicy: 'IfNotPresent'
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700161
David K. Bainbridge637751d2021-03-25 22:18:08 +0000162 ingress:
163 enabled: false
164 annotations:
165 kubernetes.io/ingress.class: "nginx"
166 nginx.ingress.kubernetes.io/ssl-redirect: "true"
167 nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
168 nginx.ingress.kubernetes.io/grpc-backend: "true"
169 enableVirtualHosts: false
170 hosts:
171 - host:
172 paths:
173 - "/etcdserverpb.KV/"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800174 auth:
175 rbac:
Andrea Campanella14f3db72022-06-10 09:12:34 -0700176 create: false
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800177 persistence:
178 enabled: false
179 statefulset:
180 replicaCount: 1
Joey Armstrong6fdbccf2023-01-25 20:20:10 -0500181 service:
182 port: 2379
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700183 autoCompactionMode: "revision"
184 autoCompactionRetention: 1
185 extraEnvVars:
186 - name: ETCD_ELECTION_TIMEOUT
187 value: "5000"
188 - name: ETCD_HEARTBEAT_INTERVAL
189 value: "1000"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800190
191kafka:
192 enabled: true
193 replicaCount: 1
194 persistence:
195 enabled: false
196 zookeeper:
197 replicaCount: 1
198 persistence:
199 enabled: false
200 service:
201 port: 9092
202
203voltha-tracing:
204 enabled: false
205 tracing:
206 maxTraces: 500000
207
208efk:
209 enabled: false
210
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800211# START EFK Setup to push voltha logs
212# elasticstack config
213# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
214elasticsearch:
215 replicas: 1
216 minimumMasterNodes: 1
217 # set cpu and memory configuration
218 resources:
219 requests:
220 cpu: "400m"
221 memory: "1Gi"
222 limits:
223 cpu: "1000m"
224 memory: "2Gi"
225 # setup persistence volume.By default persistence volumeclaim is disabled
226 volumeClaimTemplate:
227 accessModes: ["ReadWriteOnce"]
228 resources:
229 requests:
230 storage: 5Gi
231 persistence:
232 enabled: false
233 # setup cluster health status as yellow
234 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
235
236# kibana config
237# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
238kibana:
239 elasticsearchHosts: "http://elasticsearch-master:9200"
240
241# fluentd-elasticsearch config
242# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
243fluentd-elasticsearch:
244 elasticsearch:
245 # set elasticsearch host
246 hosts: ["elasticsearch-master:9200"]
247 sslVerify: false
Tinoj Josepha9e53c92022-08-23 10:08:46 +0530248
249redis:
250 enabled: false
251 auth:
252 enabled: false
253 volumePermissions:
254 enabled: true
255 networkPolicy:
256 enabled: false
257 replica:
258 replicaCount: 1
259 sentinel:
260 enabled: true
261 masterSet: sebaRedis
262 commonConfiguration: |-
263 # The filename where to dump the DB
264 dbfilename dump.rdb