blob: aabca712bfcba7cc4f235f22647347e7a4f7928e [file] [log] [blame]
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -08001# Copyright 2020-present Open Networking Foundation
2#
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
Andrea Campanellac17ee132022-07-07 17:47:59 +020031 tag: 5.1.1
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:
54 replicas: 0
55 persistence:
56 enabled: false
57 java_opts: >
58 -Xmx2G
59 -XX:-UseContainerSupport
Matteo Scandolof65e8752021-07-20 13:53:44 -070060 config:
61 enabled: true
Matteo Scandolodb69da62021-07-22 09:44:59 -070062 reconcile_mode: false
Matteo Scandolof65e8752021-07-20 13:53:44 -070063 netcfg: >
64 {
65 "apps" : {
66 "org.opencord.dhcpl2relay" : {
67 "dhcpl2relay" : {
68 "useOltUplinkForServerPktInOut" : true
69 }
70 },
71 "org.opencord.kafka": {
72 "kafka" : {
73 "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092"
74 }
75 },
76 "org.opencord.aaa" : {
77 "AAA": {
78 "radiusConnectionType" : "socket",
79 "radiusHost": "{{ .Release.Name }}-freeradius.{{ .Release.Namespace }}.svc",
80 "radiusServerPort": "1812",
81 "radiusSecret": "SECRET"
82 }
83 },
84 "org.opencord.sadis": {
85 "sadis": {
86 "integration": {
87 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s",
88 "cache": {
89 "enabled": true,
90 "maxsize": 50,
91 "ttl": "PT1m"
92 }
93 }
94 },
95 "bandwidthprofile": {
96 "integration": {
97 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s",
98 "cache": {
99 "enabled": true,
100 "maxsize": 50,
101 "ttl": "PT1m"
102 }
103 }
104 }
105 }
106 }
107 }
108 componentConfig:
109 "org.opencord.olt.impl.OltFlowService": >
110 {
111 "enableDhcpOnNni": "true",
112 "defaultTechProfileId": "64",
113 "enableIgmpOnNni": "false",
114 "enableEapol": "true",
115 "enableDhcpV6": "false",
116 "enableDhcpV4": "true"
117 }
118 "org.onosproject.provider.lldp.impl.LldpLinkProvider": >
119 {
120 "enabled": "false"
121 }
122 "org.onosproject.net.flow.impl.FlowRuleManager": >
123 {
124 "purgeOnDisconnection": "false"
125 }
126 "org.onosproject.net.meter.impl.MeterManager": >
127 {
128 "purgeOnDisconnection": "false"
129 }
130 "org.onosproject.net.group.impl.GroupManager": >
131 {
132 "purgeOnDisconnection": "false"
133 }
Andrea Campanellae383e022022-06-29 16:19:22 +0200134 "org.onosproject.net.device.impl.DeviceManager": >
135 {
136 "roleTimeoutSeconds": "120"
137 }
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800138
139bbsim-sadis-server:
140 enabled: true
141 replicas: 1
142
143radius:
144 enabled: true
145
146etcd:
147 enabled: true
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700148
149 # ETCD defrag creates a CronJob that runs "etcdctl defrag --cluster"
150 # on a defined schedule
151 defrag:
Matteo Scandolodb69da62021-07-22 09:44:59 -0700152 enabled: false
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700153 schedule: "*/5 * * * *"
Matteo Scandolof65e8752021-07-20 13:53:44 -0700154 image:
155 registry: '{{ .Values.global.image_registry }}'
156 repository: 'opennetworking/utils'
157 tag: 0.2.0
158 pullPolicy: 'IfNotPresent'
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700159
David K. Bainbridge637751d2021-03-25 22:18:08 +0000160 ingress:
161 enabled: false
162 annotations:
163 kubernetes.io/ingress.class: "nginx"
164 nginx.ingress.kubernetes.io/ssl-redirect: "true"
165 nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
166 nginx.ingress.kubernetes.io/grpc-backend: "true"
167 enableVirtualHosts: false
168 hosts:
169 - host:
170 paths:
171 - "/etcdserverpb.KV/"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800172 auth:
173 rbac:
Andrea Campanella14f3db72022-06-10 09:12:34 -0700174 create: false
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800175 persistence:
176 enabled: false
177 statefulset:
178 replicaCount: 1
179 service:
180 port: 2379
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700181 autoCompactionMode: "revision"
182 autoCompactionRetention: 1
183 extraEnvVars:
184 - name: ETCD_ELECTION_TIMEOUT
185 value: "5000"
186 - name: ETCD_HEARTBEAT_INTERVAL
187 value: "1000"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800188
189kafka:
190 enabled: true
191 replicaCount: 1
192 persistence:
193 enabled: false
194 zookeeper:
195 replicaCount: 1
196 persistence:
197 enabled: false
198 service:
199 port: 9092
200
201voltha-tracing:
202 enabled: false
203 tracing:
204 maxTraces: 500000
205
206efk:
207 enabled: false
208
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800209# START EFK Setup to push voltha logs
210# elasticstack config
211# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
212elasticsearch:
213 replicas: 1
214 minimumMasterNodes: 1
215 # set cpu and memory configuration
216 resources:
217 requests:
218 cpu: "400m"
219 memory: "1Gi"
220 limits:
221 cpu: "1000m"
222 memory: "2Gi"
223 # setup persistence volume.By default persistence volumeclaim is disabled
224 volumeClaimTemplate:
225 accessModes: ["ReadWriteOnce"]
226 resources:
227 requests:
228 storage: 5Gi
229 persistence:
230 enabled: false
231 # setup cluster health status as yellow
232 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
233
234# kibana config
235# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
236kibana:
237 elasticsearchHosts: "http://elasticsearch-master:9200"
238
239# fluentd-elasticsearch config
240# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
241fluentd-elasticsearch:
242 elasticsearch:
243 # set elasticsearch host
244 hosts: ["elasticsearch-master:9200"]
245 sslVerify: false
Tinoj Josepha9e53c92022-08-23 10:08:46 +0530246
247redis:
248 enabled: false
249 auth:
250 enabled: false
251 volumePermissions:
252 enabled: true
253 networkPolicy:
254 enabled: false
255 replica:
256 replicaCount: 1
257 sentinel:
258 enabled: true
259 masterSet: sebaRedis
260 commonConfiguration: |-
261 # The filename where to dump the DB
262 dbfilename dump.rdb