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