blob: 8b4a55de6fafc24cf67b92b6607fdfcbd51d77de [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 Campanella7eb74562021-06-07 15:15:01 +020038 tag: 5.0.0
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
David K. Bainbridge637751d2021-03-25 22:18:08 +000076 ingress:
77 enabled: false
78 annotations:
79 kubernetes.io/ingress.class: "nginx"
80 nginx.ingress.kubernetes.io/ssl-redirect: "true"
81 nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
82 nginx.ingress.kubernetes.io/grpc-backend: "true"
83 enableVirtualHosts: false
84 hosts:
85 - host:
86 paths:
87 - "/etcdserverpb.KV/"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080088 auth:
89 rbac:
90 enabled: false
91 persistence:
92 enabled: false
93 statefulset:
94 replicaCount: 1
95 service:
96 port: 2379
97
98kafka:
99 enabled: true
100 replicaCount: 1
101 persistence:
102 enabled: false
103 zookeeper:
104 replicaCount: 1
105 persistence:
106 enabled: false
107 service:
108 port: 9092
109
110voltha-tracing:
111 enabled: false
112 tracing:
113 maxTraces: 500000
114
115efk:
116 enabled: false
117
118# onos configuration
119# used in the job "onos-config-loader"
120onos:
121 # NOTE that these values won't change the configuration in the ONOS container, they are only used in the script that loads the config
122 username: karaf
123 password: karaf
124 netcfg: >
125 {
126 "apps" : {
127 "org.opencord.dhcpl2relay" : {
128 "dhcpl2relay" : {
129 "useOltUplinkForServerPktInOut" : true
130 }
131 },
132 "org.opencord.kafka": {
133 "kafka" : {
134 "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092"
135 }
136 },
137 "org.opencord.aaa" : {
138 "AAA": {
139 "radiusConnectionType" : "socket",
140 "radiusHost": "{{ .Release.Name }}-freeradius.{{ .Release.Namespace }}.svc",
141 "radiusServerPort": "1812",
142 "radiusSecret": "SECRET"
143 }
144 },
145 "org.opencord.sadis": {
146 "sadis": {
147 "integration": {
148 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s",
149 "cache": {
150 "enabled": true,
151 "maxsize": 50,
152 "ttl": "PT1m"
153 }
154 }
155 },
156 "bandwidthprofile": {
157 "integration": {
158 "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s",
159 "cache": {
160 "enabled": true,
161 "maxsize": 50,
162 "ttl": "PT1m"
163 }
164 }
165 }
166 }
167 }
168 }
169 componentConfig:
170 "org.opencord.olt.impl.OltFlowService": >
171 {
172 "enableDhcpOnNni": "true",
173 "defaultTechProfileId": "64",
174 "enableIgmpOnNni": "false",
175 "enableEapol": "true",
176 "enableDhcpV6": "false",
177 "enableDhcpV4": "true"
178 }
179 "org.onosproject.provider.lldp.impl.LldpLinkProvider": >
180 {
181 "enabled": "false"
182 }
Andrea Campanella0d7691b2021-02-18 17:56:20 +0100183 "org.onosproject.net.flow.impl.FlowRuleManager": >
184 {
185 "purgeOnDisconnection": "false"
186 }
187 "org.onosproject.net.meter.impl.MeterManager": >
188 {
189 "purgeOnDisconnection": "false"
190 }
Andrea Campanellaebb86872021-02-19 14:31:17 +0100191 "org.onosproject.net.group.impl.GroupManager": >
Andrea Campanella0d7691b2021-02-18 17:56:20 +0100192 {
193 "purgeOnDisconnection": "false"
194 }
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800195
196# START EFK Setup to push voltha logs
197# elasticstack config
198# ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch
199elasticsearch:
200 replicas: 1
201 minimumMasterNodes: 1
202 # set cpu and memory configuration
203 resources:
204 requests:
205 cpu: "400m"
206 memory: "1Gi"
207 limits:
208 cpu: "1000m"
209 memory: "2Gi"
210 # setup persistence volume.By default persistence volumeclaim is disabled
211 volumeClaimTemplate:
212 accessModes: ["ReadWriteOnce"]
213 resources:
214 requests:
215 storage: 5Gi
216 persistence:
217 enabled: false
218 # setup cluster health status as yellow
219 clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
220
221# kibana config
222# ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana
223kibana:
224 elasticsearchHosts: "http://elasticsearch-master:9200"
225
226# fluentd-elasticsearch config
227# ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch
228fluentd-elasticsearch:
229 elasticsearch:
230 # set elasticsearch host
231 hosts: ["elasticsearch-master:9200"]
232 sslVerify: false