blob: e476bcd750496e2f06536e435403821953326570 [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
52 atomix:
53 replicas: 0
54 persistence:
55 enabled: false
56 java_opts: >
57 -Xmx2G
58 -XX:-UseContainerSupport
Matteo Scandolof65e8752021-07-20 13:53:44 -070059 config:
60 enabled: true
Matteo Scandolodb69da62021-07-22 09:44:59 -070061 reconcile_mode: false
Matteo Scandolof65e8752021-07-20 13:53:44 -070062 netcfg: >
63 {
64 "apps" : {
65 "org.opencord.dhcpl2relay" : {
66 "dhcpl2relay" : {
67 "useOltUplinkForServerPktInOut" : true
68 }
69 },
70 "org.opencord.kafka": {
71 "kafka" : {
72 "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092"
73 }
74 },
75 "org.opencord.aaa" : {
76 "AAA": {
77 "radiusConnectionType" : "socket",
78 "radiusHost": "{{ .Release.Name }}-freeradius.{{ .Release.Namespace }}.svc",
79 "radiusServerPort": "1812",
80 "radiusSecret": "SECRET"
81 }
82 },
83 "org.opencord.sadis": {
84 "sadis": {
85 "integration": {
86 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s",
87 "cache": {
88 "enabled": true,
89 "maxsize": 50,
90 "ttl": "PT1m"
91 }
92 }
93 },
94 "bandwidthprofile": {
95 "integration": {
96 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s",
97 "cache": {
98 "enabled": true,
99 "maxsize": 50,
100 "ttl": "PT1m"
101 }
102 }
103 }
104 }
105 }
106 }
107 componentConfig:
108 "org.opencord.olt.impl.OltFlowService": >
109 {
110 "enableDhcpOnNni": "true",
111 "defaultTechProfileId": "64",
112 "enableIgmpOnNni": "false",
113 "enableEapol": "true",
114 "enableDhcpV6": "false",
115 "enableDhcpV4": "true"
116 }
117 "org.onosproject.provider.lldp.impl.LldpLinkProvider": >
118 {
119 "enabled": "false"
120 }
121 "org.onosproject.net.flow.impl.FlowRuleManager": >
122 {
123 "purgeOnDisconnection": "false"
124 }
125 "org.onosproject.net.meter.impl.MeterManager": >
126 {
127 "purgeOnDisconnection": "false"
128 }
129 "org.onosproject.net.group.impl.GroupManager": >
130 {
131 "purgeOnDisconnection": "false"
132 }
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800133
134bbsim-sadis-server:
135 enabled: true
136 replicas: 1
137
138radius:
139 enabled: true
140
141etcd:
142 enabled: true
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700143
144 # ETCD defrag creates a CronJob that runs "etcdctl defrag --cluster"
145 # on a defined schedule
146 defrag:
Matteo Scandolodb69da62021-07-22 09:44:59 -0700147 enabled: false
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700148 schedule: "*/5 * * * *"
Matteo Scandolof65e8752021-07-20 13:53:44 -0700149 image:
150 registry: '{{ .Values.global.image_registry }}'
151 repository: 'opennetworking/utils'
152 tag: 0.2.0
153 pullPolicy: 'IfNotPresent'
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700154
David K. Bainbridge637751d2021-03-25 22:18:08 +0000155 ingress:
156 enabled: false
157 annotations:
158 kubernetes.io/ingress.class: "nginx"
159 nginx.ingress.kubernetes.io/ssl-redirect: "true"
160 nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
161 nginx.ingress.kubernetes.io/grpc-backend: "true"
162 enableVirtualHosts: false
163 hosts:
164 - host:
165 paths:
166 - "/etcdserverpb.KV/"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800167 auth:
168 rbac:
169 enabled: false
170 persistence:
171 enabled: false
172 statefulset:
173 replicaCount: 1
174 service:
175 port: 2379
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700176 autoCompactionMode: "revision"
177 autoCompactionRetention: 1
178 extraEnvVars:
179 - name: ETCD_ELECTION_TIMEOUT
180 value: "5000"
181 - name: ETCD_HEARTBEAT_INTERVAL
182 value: "1000"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800183
184kafka:
185 enabled: true
186 replicaCount: 1
187 persistence:
188 enabled: false
189 zookeeper:
190 replicaCount: 1
191 persistence:
192 enabled: false
193 service:
194 port: 9092
195
196voltha-tracing:
197 enabled: false
198 tracing:
199 maxTraces: 500000
200
201efk:
202 enabled: false
203
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800204# START EFK Setup to push voltha logs
205# elasticstack config
206# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
207elasticsearch:
208 replicas: 1
209 minimumMasterNodes: 1
210 # set cpu and memory configuration
211 resources:
212 requests:
213 cpu: "400m"
214 memory: "1Gi"
215 limits:
216 cpu: "1000m"
217 memory: "2Gi"
218 # setup persistence volume.By default persistence volumeclaim is disabled
219 volumeClaimTemplate:
220 accessModes: ["ReadWriteOnce"]
221 resources:
222 requests:
223 storage: 5Gi
224 persistence:
225 enabled: false
226 # setup cluster health status as yellow
227 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
228
229# kibana config
230# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
231kibana:
232 elasticsearchHosts: "http://elasticsearch-master:9200"
233
234# fluentd-elasticsearch config
235# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
236fluentd-elasticsearch:
237 elasticsearch:
238 # set elasticsearch host
239 hosts: ["elasticsearch-master:9200"]
240 sslVerify: false