blob: 4cc25594cb991cb67827ec94492901505d9cf4d9 [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 Campanella377d9f22021-09-20 21:19:59 +020038 tag: 5.0.2
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
59 atomix:
60 replicas: 0
61 persistence:
62 enabled: false
63 java_opts: >
64 -Xmx2G
65 -XX:-UseContainerSupport
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080066
67bbsim-sadis-server:
68 enabled: true
69 replicas: 1
70
71radius:
72 enabled: true
73
74etcd:
75 enabled: true
Girish Gowdra75ae4db2021-05-27 15:52:04 -070076
77 # ETCD defrag creates a CronJob that runs "etcdctl defrag --cluster"
78 # on a defined schedule
79 defrag:
80 enabled: false
81 schedule: "*/5 * * * *"
82
David K. Bainbridge637751d2021-03-25 22:18:08 +000083 ingress:
84 enabled: false
85 annotations:
86 kubernetes.io/ingress.class: "nginx"
87 nginx.ingress.kubernetes.io/ssl-redirect: "true"
88 nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
89 nginx.ingress.kubernetes.io/grpc-backend: "true"
90 enableVirtualHosts: false
91 hosts:
92 - host:
93 paths:
94 - "/etcdserverpb.KV/"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080095 auth:
96 rbac:
97 enabled: false
98 persistence:
99 enabled: false
100 statefulset:
101 replicaCount: 1
102 service:
103 port: 2379
Girish Gowdra75ae4db2021-05-27 15:52:04 -0700104 autoCompactionMode: "revision"
105 autoCompactionRetention: 1
106 extraEnvVars:
107 - name: ETCD_ELECTION_TIMEOUT
108 value: "5000"
109 - name: ETCD_HEARTBEAT_INTERVAL
110 value: "1000"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800111
112kafka:
113 enabled: true
114 replicaCount: 1
115 persistence:
116 enabled: false
117 zookeeper:
118 replicaCount: 1
119 persistence:
120 enabled: false
121 service:
122 port: 9092
123
124voltha-tracing:
125 enabled: false
126 tracing:
127 maxTraces: 500000
128
129efk:
130 enabled: false
131
132# onos configuration
133# used in the job "onos-config-loader"
134onos:
135 # NOTE that these values won't change the configuration in the ONOS container, they are only used in the script that loads the config
136 username: karaf
137 password: karaf
138 netcfg: >
139 {
140 "apps" : {
141 "org.opencord.dhcpl2relay" : {
142 "dhcpl2relay" : {
143 "useOltUplinkForServerPktInOut" : true
144 }
145 },
146 "org.opencord.kafka": {
147 "kafka" : {
148 "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092"
149 }
150 },
151 "org.opencord.aaa" : {
152 "AAA": {
153 "radiusConnectionType" : "socket",
154 "radiusHost": "{{ .Release.Name }}-freeradius.{{ .Release.Namespace }}.svc",
155 "radiusServerPort": "1812",
156 "radiusSecret": "SECRET"
157 }
158 },
159 "org.opencord.sadis": {
160 "sadis": {
161 "integration": {
162 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s",
163 "cache": {
164 "enabled": true,
165 "maxsize": 50,
166 "ttl": "PT1m"
167 }
168 }
169 },
170 "bandwidthprofile": {
171 "integration": {
172 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s",
173 "cache": {
174 "enabled": true,
175 "maxsize": 50,
176 "ttl": "PT1m"
177 }
178 }
179 }
180 }
181 }
182 }
183 componentConfig:
184 "org.opencord.olt.impl.OltFlowService": >
185 {
186 "enableDhcpOnNni": "true",
187 "defaultTechProfileId": "64",
188 "enableIgmpOnNni": "false",
189 "enableEapol": "true",
190 "enableDhcpV6": "false",
191 "enableDhcpV4": "true"
192 }
193 "org.onosproject.provider.lldp.impl.LldpLinkProvider": >
194 {
195 "enabled": "false"
196 }
Andrea Campanella0d7691b2021-02-18 17:56:20 +0100197 "org.onosproject.net.flow.impl.FlowRuleManager": >
198 {
199 "purgeOnDisconnection": "false"
200 }
201 "org.onosproject.net.meter.impl.MeterManager": >
202 {
203 "purgeOnDisconnection": "false"
204 }
Andrea Campanellaebb86872021-02-19 14:31:17 +0100205 "org.onosproject.net.group.impl.GroupManager": >
Andrea Campanella0d7691b2021-02-18 17:56:20 +0100206 {
207 "purgeOnDisconnection": "false"
208 }
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800209
210# START EFK Setup to push voltha logs
211# elasticstack config
212# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
213elasticsearch:
214 replicas: 1
215 minimumMasterNodes: 1
216 # set cpu and memory configuration
217 resources:
218 requests:
219 cpu: "400m"
220 memory: "1Gi"
221 limits:
222 cpu: "1000m"
223 memory: "2Gi"
224 # setup persistence volume.By default persistence volumeclaim is disabled
225 volumeClaimTemplate:
226 accessModes: ["ReadWriteOnce"]
227 resources:
228 requests:
229 storage: 5Gi
230 persistence:
231 enabled: false
232 # setup cluster health status as yellow
233 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
234
235# kibana config
236# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
237kibana:
238 elasticsearchHosts: "http://elasticsearch-master:9200"
239
240# fluentd-elasticsearch config
241# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
242fluentd-elasticsearch:
243 elasticsearch:
244 # set elasticsearch host
245 hosts: ["elasticsearch-master:9200"]
246 sslVerify: false