blob: ee780c0a7295262975a79a0c7868eeb20214bfea [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 Campanella644b7eb2021-09-30 10:29:50 +020031 tag: 5.0.3
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 }
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800134
135bbsim-sadis-server:
136 enabled: true
137 replicas: 1
138
139radius:
140 enabled: true
141
142etcd:
143 enabled: true
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700144
145 # ETCD defrag creates a CronJob that runs "etcdctl defrag --cluster"
146 # on a defined schedule
147 defrag:
Matteo Scandolodb69da62021-07-22 09:44:59 -0700148 enabled: false
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700149 schedule: "*/5 * * * *"
Matteo Scandolof65e8752021-07-20 13:53:44 -0700150 image:
151 registry: '{{ .Values.global.image_registry }}'
152 repository: 'opennetworking/utils'
153 tag: 0.2.0
154 pullPolicy: 'IfNotPresent'
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700155
David K. Bainbridge637751d2021-03-25 22:18:08 +0000156 ingress:
157 enabled: false
158 annotations:
159 kubernetes.io/ingress.class: "nginx"
160 nginx.ingress.kubernetes.io/ssl-redirect: "true"
161 nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
162 nginx.ingress.kubernetes.io/grpc-backend: "true"
163 enableVirtualHosts: false
164 hosts:
165 - host:
166 paths:
167 - "/etcdserverpb.KV/"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800168 auth:
169 rbac:
170 enabled: false
171 persistence:
172 enabled: false
173 statefulset:
174 replicaCount: 1
175 service:
176 port: 2379
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700177 autoCompactionMode: "revision"
178 autoCompactionRetention: 1
179 extraEnvVars:
180 - name: ETCD_ELECTION_TIMEOUT
181 value: "5000"
182 - name: ETCD_HEARTBEAT_INTERVAL
183 value: "1000"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800184
185kafka:
186 enabled: true
187 replicaCount: 1
188 persistence:
189 enabled: false
190 zookeeper:
191 replicaCount: 1
192 persistence:
193 enabled: false
194 service:
195 port: 9092
196
197voltha-tracing:
198 enabled: false
199 tracing:
200 maxTraces: 500000
201
202efk:
203 enabled: false
204
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800205# START EFK Setup to push voltha logs
206# elasticstack config
207# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
208elasticsearch:
209 replicas: 1
210 minimumMasterNodes: 1
211 # set cpu and memory configuration
212 resources:
213 requests:
214 cpu: "400m"
215 memory: "1Gi"
216 limits:
217 cpu: "1000m"
218 memory: "2Gi"
219 # setup persistence volume.By default persistence volumeclaim is disabled
220 volumeClaimTemplate:
221 accessModes: ["ReadWriteOnce"]
222 resources:
223 requests:
224 storage: 5Gi
225 persistence:
226 enabled: false
227 # setup cluster health status as yellow
228 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
229
230# kibana config
231# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
232kibana:
233 elasticsearchHosts: "http://elasticsearch-master:9200"
234
235# fluentd-elasticsearch config
236# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
237fluentd-elasticsearch:
238 elasticsearch:
239 # set elasticsearch host
240 hosts: ["elasticsearch-master:9200"]
241 sslVerify: false