blob: d24961fa1074c3a44a60206c6f3a77bf4115de4f [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
24images:
25 onos_config_loader:
26 registry: '{{ .Values.global.image_registry }}'
27 repository: '{{ .Values.global.image_org }}voltha-ci-tools'
Matteo Scandolocb543822021-05-04 14:49:50 -070028 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}-onos-config-loader{{- else }}2.3.2-onos-config-loader{{- end }}{{- else }}2.3.2-onos-config-loader{{- end }}'
Matteo Scandoloa0fc9402021-04-09 16:09:03 -070029 pullPolicy: '{{ .Values.global.image_pullPolicy }}'
30
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080031# components config
32onos-classic:
33 enabled: true
34 replicas: 1
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080035 image:
36 pullPolicy: Always
37 repository: voltha/voltha-onos
Andrea Campanellac9ebadc2021-09-30 10:29:50 +020038 tag: 5.0.3
Andrea Campanellaebb86872021-02-19 14:31:17 +010039 apps:
40 - org.onosproject.lldpprovider
41 - org.onosproject.openflow-base
42 - org.onosproject.gui2
43 - org.onosproject.drivers
44 - org.onosproject.mcast
Andrea Campanella7eb74562021-06-07 15:15:01 +020045 - org.onosproject.segmentrouting
Andrea Campanellaebb86872021-02-19 14:31:17 +010046 - org.opencord.kafka
47 - org.opencord.sadis
48 - org.opencord.dhcpl2relay
49 - org.opencord.igmpproxy
50 - org.opencord.mcast
51 - org.opencord.olt
52 - org.opencord.aaa
Andrea Campanella1d284452021-04-20 10:23:42 +020053 java_opts: >
54 -XX:+UseG1GC
55 -XX:MaxGCPauseMillis=200
56 -XX:-UseContainerSupport
57 -Dkaraf.log.console=INFO
58 -Dds.lock.timeout.milliseconds=10000
Andrea Campanella52747f22021-12-15 14:28:07 +010059 -Dlog4j2.formatMsgNoLookups=true
Andrea Campanella1d284452021-04-20 10:23:42 +020060 atomix:
61 replicas: 0
62 persistence:
63 enabled: false
64 java_opts: >
65 -Xmx2G
66 -XX:-UseContainerSupport
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080067
68bbsim-sadis-server:
69 enabled: true
70 replicas: 1
71
72radius:
73 enabled: true
74
75etcd:
76 enabled: true
Girish Gowdra75ae4db2021-05-27 15:52:04 -070077
78 # ETCD defrag creates a CronJob that runs "etcdctl defrag --cluster"
79 # on a defined schedule
80 defrag:
81 enabled: false
82 schedule: "*/5 * * * *"
83
David K. Bainbridge637751d2021-03-25 22:18:08 +000084 ingress:
85 enabled: false
86 annotations:
87 kubernetes.io/ingress.class: "nginx"
88 nginx.ingress.kubernetes.io/ssl-redirect: "true"
89 nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
90 nginx.ingress.kubernetes.io/grpc-backend: "true"
91 enableVirtualHosts: false
92 hosts:
93 - host:
94 paths:
95 - "/etcdserverpb.KV/"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080096 auth:
97 rbac:
Matteo Scandolo27d4d5d2022-06-06 10:10:18 -070098 create: false
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080099 persistence:
100 enabled: false
101 statefulset:
102 replicaCount: 1
103 service:
104 port: 2379
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700105 autoCompactionMode: "revision"
106 autoCompactionRetention: 1
107 extraEnvVars:
108 - name: ETCD_ELECTION_TIMEOUT
109 value: "5000"
110 - name: ETCD_HEARTBEAT_INTERVAL
111 value: "1000"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800112
113kafka:
114 enabled: true
115 replicaCount: 1
116 persistence:
117 enabled: false
118 zookeeper:
119 replicaCount: 1
120 persistence:
121 enabled: false
122 service:
123 port: 9092
124
125voltha-tracing:
126 enabled: false
127 tracing:
128 maxTraces: 500000
129
130efk:
131 enabled: false
132
133# onos configuration
134# used in the job "onos-config-loader"
135onos:
136 # NOTE that these values won't change the configuration in the ONOS container, they are only used in the script that loads the config
137 username: karaf
138 password: karaf
139 netcfg: >
140 {
141 "apps" : {
142 "org.opencord.dhcpl2relay" : {
143 "dhcpl2relay" : {
144 "useOltUplinkForServerPktInOut" : true
145 }
146 },
147 "org.opencord.kafka": {
148 "kafka" : {
149 "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092"
150 }
151 },
152 "org.opencord.aaa" : {
153 "AAA": {
154 "radiusConnectionType" : "socket",
155 "radiusHost": "{{ .Release.Name }}-freeradius.{{ .Release.Namespace }}.svc",
156 "radiusServerPort": "1812",
157 "radiusSecret": "SECRET"
158 }
159 },
160 "org.opencord.sadis": {
161 "sadis": {
162 "integration": {
163 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s",
164 "cache": {
165 "enabled": true,
166 "maxsize": 50,
167 "ttl": "PT1m"
168 }
169 }
170 },
171 "bandwidthprofile": {
172 "integration": {
173 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s",
174 "cache": {
175 "enabled": true,
176 "maxsize": 50,
177 "ttl": "PT1m"
178 }
179 }
180 }
181 }
182 }
183 }
184 componentConfig:
185 "org.opencord.olt.impl.OltFlowService": >
186 {
187 "enableDhcpOnNni": "true",
188 "defaultTechProfileId": "64",
189 "enableIgmpOnNni": "false",
190 "enableEapol": "true",
191 "enableDhcpV6": "false",
192 "enableDhcpV4": "true"
193 }
194 "org.onosproject.provider.lldp.impl.LldpLinkProvider": >
195 {
196 "enabled": "false"
197 }
Andrea Campanella0d7691b2021-02-18 17:56:20 +0100198 "org.onosproject.net.flow.impl.FlowRuleManager": >
199 {
200 "purgeOnDisconnection": "false"
201 }
202 "org.onosproject.net.meter.impl.MeterManager": >
203 {
204 "purgeOnDisconnection": "false"
205 }
Andrea Campanellaebb86872021-02-19 14:31:17 +0100206 "org.onosproject.net.group.impl.GroupManager": >
Andrea Campanella0d7691b2021-02-18 17:56:20 +0100207 {
208 "purgeOnDisconnection": "false"
209 }
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800210
211# 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