Joey Armstrong | 623b29d | 2024-02-10 21:12:11 -0500 | [diff] [blame] | 1 | # Copyright 2020-2024 Open Networking Foundation (ONF) and the ONF Contributors |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 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 |
Joey Armstrong | 623b29d | 2024-02-10 21:12:11 -0500 | [diff] [blame] | 31 | tag: 5.1.8 |
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: |
Cristina de Francisco | 69fa303 | 2024-11-13 14:48:05 +0100 | [diff] [blame^] | 54 | podDisruptionBudget: |
| 55 | enabled: false |
Andrea Campanella | 1d28445 | 2021-04-20 10:23:42 +0200 | [diff] [blame] | 56 | replicas: 0 |
| 57 | persistence: |
| 58 | enabled: false |
| 59 | java_opts: > |
| 60 | -Xmx2G |
| 61 | -XX:-UseContainerSupport |
Matteo Scandolo | f65e875 | 2021-07-20 13:53:44 -0700 | [diff] [blame] | 62 | config: |
| 63 | enabled: true |
Matteo Scandolo | db69da6 | 2021-07-22 09:44:59 -0700 | [diff] [blame] | 64 | reconcile_mode: false |
Matteo Scandolo | f65e875 | 2021-07-20 13:53:44 -0700 | [diff] [blame] | 65 | netcfg: > |
| 66 | { |
| 67 | "apps" : { |
| 68 | "org.opencord.dhcpl2relay" : { |
| 69 | "dhcpl2relay" : { |
| 70 | "useOltUplinkForServerPktInOut" : true |
| 71 | } |
| 72 | }, |
| 73 | "org.opencord.kafka": { |
| 74 | "kafka" : { |
| 75 | "bootstrapServers" : "{{ .Release.Name }}-kafka.{{ .Release.Namespace }}.svc:9092" |
| 76 | } |
| 77 | }, |
| 78 | "org.opencord.aaa" : { |
| 79 | "AAA": { |
| 80 | "radiusConnectionType" : "socket", |
| 81 | "radiusHost": "{{ .Release.Name }}-freeradius.{{ .Release.Namespace }}.svc", |
| 82 | "radiusServerPort": "1812", |
| 83 | "radiusSecret": "SECRET" |
| 84 | } |
| 85 | }, |
| 86 | "org.opencord.sadis": { |
| 87 | "sadis": { |
| 88 | "integration": { |
| 89 | "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/subscribers/%s", |
| 90 | "cache": { |
| 91 | "enabled": true, |
| 92 | "maxsize": 50, |
| 93 | "ttl": "PT1m" |
| 94 | } |
| 95 | } |
| 96 | }, |
| 97 | "bandwidthprofile": { |
| 98 | "integration": { |
| 99 | "url": "http://bbsim-sadis-server.{{ .Release.Namespace }}.svc:58080/profiles/%s", |
| 100 | "cache": { |
| 101 | "enabled": true, |
| 102 | "maxsize": 50, |
| 103 | "ttl": "PT1m" |
| 104 | } |
| 105 | } |
| 106 | } |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | componentConfig: |
| 111 | "org.opencord.olt.impl.OltFlowService": > |
| 112 | { |
| 113 | "enableDhcpOnNni": "true", |
| 114 | "defaultTechProfileId": "64", |
| 115 | "enableIgmpOnNni": "false", |
| 116 | "enableEapol": "true", |
| 117 | "enableDhcpV6": "false", |
| 118 | "enableDhcpV4": "true" |
| 119 | } |
| 120 | "org.onosproject.provider.lldp.impl.LldpLinkProvider": > |
| 121 | { |
| 122 | "enabled": "false" |
| 123 | } |
| 124 | "org.onosproject.net.flow.impl.FlowRuleManager": > |
| 125 | { |
| 126 | "purgeOnDisconnection": "false" |
| 127 | } |
| 128 | "org.onosproject.net.meter.impl.MeterManager": > |
| 129 | { |
| 130 | "purgeOnDisconnection": "false" |
| 131 | } |
| 132 | "org.onosproject.net.group.impl.GroupManager": > |
| 133 | { |
| 134 | "purgeOnDisconnection": "false" |
| 135 | } |
Andrea Campanella | e383e02 | 2022-06-29 16:19:22 +0200 | [diff] [blame] | 136 | "org.onosproject.net.device.impl.DeviceManager": > |
| 137 | { |
| 138 | "roleTimeoutSeconds": "120" |
| 139 | } |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 140 | |
| 141 | bbsim-sadis-server: |
| 142 | enabled: true |
| 143 | replicas: 1 |
| 144 | |
| 145 | radius: |
| 146 | enabled: true |
| 147 | |
| 148 | etcd: |
| 149 | enabled: true |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 150 | |
| 151 | # ETCD defrag creates a CronJob that runs "etcdctl defrag --cluster" |
| 152 | # on a defined schedule |
| 153 | defrag: |
Matteo Scandolo | db69da6 | 2021-07-22 09:44:59 -0700 | [diff] [blame] | 154 | enabled: false |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 155 | schedule: "*/5 * * * *" |
Matteo Scandolo | f65e875 | 2021-07-20 13:53:44 -0700 | [diff] [blame] | 156 | image: |
| 157 | registry: '{{ .Values.global.image_registry }}' |
| 158 | repository: 'opennetworking/utils' |
| 159 | tag: 0.2.0 |
| 160 | pullPolicy: 'IfNotPresent' |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 161 | |
David K. Bainbridge | 637751d | 2021-03-25 22:18:08 +0000 | [diff] [blame] | 162 | ingress: |
| 163 | enabled: false |
| 164 | annotations: |
| 165 | kubernetes.io/ingress.class: "nginx" |
| 166 | nginx.ingress.kubernetes.io/ssl-redirect: "true" |
| 167 | nginx.ingress.kubernetes.io/backend-protocol: "GRPC" |
| 168 | nginx.ingress.kubernetes.io/grpc-backend: "true" |
| 169 | enableVirtualHosts: false |
| 170 | hosts: |
| 171 | - host: |
| 172 | paths: |
| 173 | - "/etcdserverpb.KV/" |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 174 | auth: |
| 175 | rbac: |
Andrea Campanella | 14f3db7 | 2022-06-10 09:12:34 -0700 | [diff] [blame] | 176 | create: false |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 177 | persistence: |
| 178 | enabled: false |
| 179 | statefulset: |
| 180 | replicaCount: 1 |
Joey Armstrong | 6fdbccf | 2023-01-25 20:20:10 -0500 | [diff] [blame] | 181 | service: |
| 182 | port: 2379 |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 183 | autoCompactionMode: "revision" |
| 184 | autoCompactionRetention: 1 |
| 185 | extraEnvVars: |
| 186 | - name: ETCD_ELECTION_TIMEOUT |
| 187 | value: "5000" |
| 188 | - name: ETCD_HEARTBEAT_INTERVAL |
| 189 | value: "1000" |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 190 | |
| 191 | kafka: |
| 192 | enabled: true |
| 193 | replicaCount: 1 |
| 194 | persistence: |
| 195 | enabled: false |
| 196 | zookeeper: |
| 197 | replicaCount: 1 |
| 198 | persistence: |
| 199 | enabled: false |
| 200 | service: |
| 201 | port: 9092 |
| 202 | |
| 203 | voltha-tracing: |
| 204 | enabled: false |
| 205 | tracing: |
| 206 | maxTraces: 500000 |
| 207 | |
| 208 | efk: |
| 209 | enabled: false |
| 210 | |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 211 | # START EFK Setup to push voltha logs |
| 212 | # elasticstack config |
| 213 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch |
| 214 | elasticsearch: |
| 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 |
| 238 | kibana: |
| 239 | elasticsearchHosts: "http://elasticsearch-master:9200" |
| 240 | |
| 241 | # fluentd-elasticsearch config |
| 242 | # ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch |
| 243 | fluentd-elasticsearch: |
| 244 | elasticsearch: |
| 245 | # set elasticsearch host |
| 246 | hosts: ["elasticsearch-master:9200"] |
| 247 | sslVerify: false |
Tinoj Joseph | a9e53c9 | 2022-08-23 10:08:46 +0530 | [diff] [blame] | 248 | |
| 249 | redis: |
| 250 | enabled: false |
| 251 | auth: |
| 252 | enabled: false |
| 253 | volumePermissions: |
| 254 | enabled: true |
| 255 | networkPolicy: |
| 256 | enabled: false |
| 257 | replica: |
| 258 | replicaCount: 1 |
| 259 | sentinel: |
| 260 | enabled: true |
| 261 | masterSet: sebaRedis |
| 262 | commonConfiguration: |- |
| 263 | # The filename where to dump the DB |
| 264 | dbfilename dump.rdb |