Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 1 | # 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 Scandolo | a0fc940 | 2021-04-09 16:09:03 -0700 | [diff] [blame] | 18 | global: |
| 19 | image_registry: '' |
| 20 | image_org: "voltha/" |
| 21 | image_tag: ~ |
| 22 | image_pullPolicy: "Always" |
| 23 | |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 24 | # components config |
| 25 | onos-classic: |
| 26 | enabled: true |
| 27 | replicas: 1 |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 28 | image: |
| 29 | pullPolicy: Always |
| 30 | repository: voltha/voltha-onos |
Andrea Campanella | c17ee13 | 2022-07-07 17:47:59 +0200 | [diff] [blame] | 31 | tag: 5.1.1 |
Andrea Campanella | ebb8687 | 2021-02-19 14:31:17 +0100 | [diff] [blame] | 32 | apps: |
| 33 | - org.onosproject.lldpprovider |
| 34 | - org.onosproject.openflow-base |
| 35 | - org.onosproject.gui2 |
| 36 | - org.onosproject.drivers |
| 37 | - org.onosproject.mcast |
Andrea Campanella | 7eb7456 | 2021-06-07 15:15:01 +0200 | [diff] [blame] | 38 | - org.onosproject.segmentrouting |
Andrea Campanella | ebb8687 | 2021-02-19 14:31:17 +0100 | [diff] [blame] | 39 | - 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 Campanella | 1d28445 | 2021-04-20 10:23:42 +0200 | [diff] [blame] | 46 | java_opts: > |
| 47 | -XX:+UseG1GC |
| 48 | -XX:MaxGCPauseMillis=200 |
| 49 | -XX:-UseContainerSupport |
| 50 | -Dkaraf.log.console=INFO |
| 51 | -Dds.lock.timeout.milliseconds=10000 |
Andrea Campanella | c323a82 | 2021-12-15 14:28:07 +0100 | [diff] [blame] | 52 | -Dlog4j2.formatMsgNoLookups=true |
Andrea Campanella | 1d28445 | 2021-04-20 10:23:42 +0200 | [diff] [blame] | 53 | atomix: |
| 54 | replicas: 0 |
| 55 | persistence: |
| 56 | enabled: false |
| 57 | java_opts: > |
| 58 | -Xmx2G |
| 59 | -XX:-UseContainerSupport |
Matteo Scandolo | f65e875 | 2021-07-20 13:53:44 -0700 | [diff] [blame] | 60 | config: |
| 61 | enabled: true |
Matteo Scandolo | db69da6 | 2021-07-22 09:44:59 -0700 | [diff] [blame] | 62 | reconcile_mode: false |
Matteo Scandolo | f65e875 | 2021-07-20 13:53:44 -0700 | [diff] [blame] | 63 | netcfg: > |
| 64 | { |
| 65 | "apps" : { |
| 66 | "org.opencord.dhcpl2relay" : { |
| 67 | "dhcpl2relay" : { |
| 68 | "useOltUplinkForServerPktInOut" : true |
| 69 | } |
| 70 | }, |
| 71 | "org.opencord.kafka": { |
| 72 | "kafka" : { |
| 73 | "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092" |
| 74 | } |
| 75 | }, |
| 76 | "org.opencord.aaa" : { |
| 77 | "AAA": { |
| 78 | "radiusConnectionType" : "socket", |
| 79 | "radiusHost": "{{ .Release.Name }}-freeradius.{{ .Release.Namespace }}.svc", |
| 80 | "radiusServerPort": "1812", |
| 81 | "radiusSecret": "SECRET" |
| 82 | } |
| 83 | }, |
| 84 | "org.opencord.sadis": { |
| 85 | "sadis": { |
| 86 | "integration": { |
| 87 | "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s", |
| 88 | "cache": { |
| 89 | "enabled": true, |
| 90 | "maxsize": 50, |
| 91 | "ttl": "PT1m" |
| 92 | } |
| 93 | } |
| 94 | }, |
| 95 | "bandwidthprofile": { |
| 96 | "integration": { |
| 97 | "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s", |
| 98 | "cache": { |
| 99 | "enabled": true, |
| 100 | "maxsize": 50, |
| 101 | "ttl": "PT1m" |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | } |
| 106 | } |
| 107 | } |
| 108 | componentConfig: |
| 109 | "org.opencord.olt.impl.OltFlowService": > |
| 110 | { |
| 111 | "enableDhcpOnNni": "true", |
| 112 | "defaultTechProfileId": "64", |
| 113 | "enableIgmpOnNni": "false", |
| 114 | "enableEapol": "true", |
| 115 | "enableDhcpV6": "false", |
| 116 | "enableDhcpV4": "true" |
| 117 | } |
| 118 | "org.onosproject.provider.lldp.impl.LldpLinkProvider": > |
| 119 | { |
| 120 | "enabled": "false" |
| 121 | } |
| 122 | "org.onosproject.net.flow.impl.FlowRuleManager": > |
| 123 | { |
| 124 | "purgeOnDisconnection": "false" |
| 125 | } |
| 126 | "org.onosproject.net.meter.impl.MeterManager": > |
| 127 | { |
| 128 | "purgeOnDisconnection": "false" |
| 129 | } |
| 130 | "org.onosproject.net.group.impl.GroupManager": > |
| 131 | { |
| 132 | "purgeOnDisconnection": "false" |
| 133 | } |
Andrea Campanella | e383e02 | 2022-06-29 16:19:22 +0200 | [diff] [blame] | 134 | "org.onosproject.net.device.impl.DeviceManager": > |
| 135 | { |
| 136 | "roleTimeoutSeconds": "120" |
| 137 | } |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 138 | |
| 139 | bbsim-sadis-server: |
| 140 | enabled: true |
| 141 | replicas: 1 |
| 142 | |
| 143 | radius: |
| 144 | enabled: true |
| 145 | |
| 146 | etcd: |
| 147 | enabled: true |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 148 | |
| 149 | # ETCD defrag creates a CronJob that runs "etcdctl defrag --cluster" |
| 150 | # on a defined schedule |
| 151 | defrag: |
Matteo Scandolo | db69da6 | 2021-07-22 09:44:59 -0700 | [diff] [blame] | 152 | enabled: false |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 153 | schedule: "*/5 * * * *" |
Matteo Scandolo | f65e875 | 2021-07-20 13:53:44 -0700 | [diff] [blame] | 154 | image: |
| 155 | registry: '{{ .Values.global.image_registry }}' |
| 156 | repository: 'opennetworking/utils' |
| 157 | tag: 0.2.0 |
| 158 | pullPolicy: 'IfNotPresent' |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 159 | |
David K. Bainbridge | 637751d | 2021-03-25 22:18:08 +0000 | [diff] [blame] | 160 | ingress: |
| 161 | enabled: false |
| 162 | annotations: |
| 163 | kubernetes.io/ingress.class: "nginx" |
| 164 | nginx.ingress.kubernetes.io/ssl-redirect: "true" |
| 165 | nginx.ingress.kubernetes.io/backend-protocol: "GRPC" |
| 166 | nginx.ingress.kubernetes.io/grpc-backend: "true" |
| 167 | enableVirtualHosts: false |
| 168 | hosts: |
| 169 | - host: |
| 170 | paths: |
| 171 | - "/etcdserverpb.KV/" |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 172 | auth: |
| 173 | rbac: |
Andrea Campanella | 14f3db7 | 2022-06-10 09:12:34 -0700 | [diff] [blame] | 174 | create: false |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 175 | persistence: |
| 176 | enabled: false |
| 177 | statefulset: |
| 178 | replicaCount: 1 |
| 179 | service: |
| 180 | port: 2379 |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 181 | autoCompactionMode: "revision" |
| 182 | autoCompactionRetention: 1 |
| 183 | extraEnvVars: |
| 184 | - name: ETCD_ELECTION_TIMEOUT |
| 185 | value: "5000" |
| 186 | - name: ETCD_HEARTBEAT_INTERVAL |
| 187 | value: "1000" |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 188 | |
| 189 | kafka: |
| 190 | enabled: true |
| 191 | replicaCount: 1 |
| 192 | persistence: |
| 193 | enabled: false |
| 194 | zookeeper: |
| 195 | replicaCount: 1 |
| 196 | persistence: |
| 197 | enabled: false |
| 198 | service: |
| 199 | port: 9092 |
| 200 | |
| 201 | voltha-tracing: |
| 202 | enabled: false |
| 203 | tracing: |
| 204 | maxTraces: 500000 |
| 205 | |
| 206 | efk: |
| 207 | enabled: false |
| 208 | |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 209 | # START EFK Setup to push voltha logs |
| 210 | # elasticstack config |
| 211 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch |
| 212 | elasticsearch: |
| 213 | replicas: 1 |
| 214 | minimumMasterNodes: 1 |
| 215 | # set cpu and memory configuration |
| 216 | resources: |
| 217 | requests: |
| 218 | cpu: "400m" |
| 219 | memory: "1Gi" |
| 220 | limits: |
| 221 | cpu: "1000m" |
| 222 | memory: "2Gi" |
| 223 | # setup persistence volume.By default persistence volumeclaim is disabled |
| 224 | volumeClaimTemplate: |
| 225 | accessModes: ["ReadWriteOnce"] |
| 226 | resources: |
| 227 | requests: |
| 228 | storage: 5Gi |
| 229 | persistence: |
| 230 | enabled: false |
| 231 | # setup cluster health status as yellow |
| 232 | clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s" |
| 233 | |
| 234 | # kibana config |
| 235 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana |
| 236 | kibana: |
| 237 | elasticsearchHosts: "http://elasticsearch-master:9200" |
| 238 | |
| 239 | # fluentd-elasticsearch config |
| 240 | # ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch |
| 241 | fluentd-elasticsearch: |
| 242 | elasticsearch: |
| 243 | # set elasticsearch host |
| 244 | hosts: ["elasticsearch-master:9200"] |
| 245 | sslVerify: false |
Tinoj Joseph | a9e53c9 | 2022-08-23 10:08:46 +0530 | [diff] [blame^] | 246 | |
| 247 | redis: |
| 248 | enabled: false |
| 249 | auth: |
| 250 | enabled: false |
| 251 | volumePermissions: |
| 252 | enabled: true |
| 253 | networkPolicy: |
| 254 | enabled: false |
| 255 | replica: |
| 256 | replicaCount: 1 |
| 257 | sentinel: |
| 258 | enabled: true |
| 259 | masterSet: sebaRedis |
| 260 | commonConfiguration: |- |
| 261 | # The filename where to dump the DB |
| 262 | dbfilename dump.rdb |