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 | f0b086f | 2021-12-16 12:08:40 +0100 | [diff] [blame] | 31 | tag: 5.0.4-rc1 |
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 | } |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 134 | |
| 135 | bbsim-sadis-server: |
| 136 | enabled: true |
| 137 | replicas: 1 |
| 138 | |
| 139 | radius: |
| 140 | enabled: true |
| 141 | |
| 142 | etcd: |
| 143 | enabled: true |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 144 | |
| 145 | # ETCD defrag creates a CronJob that runs "etcdctl defrag --cluster" |
| 146 | # on a defined schedule |
| 147 | defrag: |
Matteo Scandolo | db69da6 | 2021-07-22 09:44:59 -0700 | [diff] [blame] | 148 | enabled: false |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 149 | schedule: "*/5 * * * *" |
Matteo Scandolo | f65e875 | 2021-07-20 13:53:44 -0700 | [diff] [blame] | 150 | image: |
| 151 | registry: '{{ .Values.global.image_registry }}' |
| 152 | repository: 'opennetworking/utils' |
| 153 | tag: 0.2.0 |
| 154 | pullPolicy: 'IfNotPresent' |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 155 | |
David K. Bainbridge | 637751d | 2021-03-25 22:18:08 +0000 | [diff] [blame] | 156 | ingress: |
| 157 | enabled: false |
| 158 | annotations: |
| 159 | kubernetes.io/ingress.class: "nginx" |
| 160 | nginx.ingress.kubernetes.io/ssl-redirect: "true" |
| 161 | nginx.ingress.kubernetes.io/backend-protocol: "GRPC" |
| 162 | nginx.ingress.kubernetes.io/grpc-backend: "true" |
| 163 | enableVirtualHosts: false |
| 164 | hosts: |
| 165 | - host: |
| 166 | paths: |
| 167 | - "/etcdserverpb.KV/" |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 168 | auth: |
| 169 | rbac: |
| 170 | enabled: false |
| 171 | persistence: |
| 172 | enabled: false |
| 173 | statefulset: |
| 174 | replicaCount: 1 |
| 175 | service: |
| 176 | port: 2379 |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 177 | autoCompactionMode: "revision" |
| 178 | autoCompactionRetention: 1 |
| 179 | extraEnvVars: |
| 180 | - name: ETCD_ELECTION_TIMEOUT |
| 181 | value: "5000" |
| 182 | - name: ETCD_HEARTBEAT_INTERVAL |
| 183 | value: "1000" |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 184 | |
| 185 | kafka: |
| 186 | enabled: true |
| 187 | replicaCount: 1 |
| 188 | persistence: |
| 189 | enabled: false |
| 190 | zookeeper: |
| 191 | replicaCount: 1 |
| 192 | persistence: |
| 193 | enabled: false |
| 194 | service: |
| 195 | port: 9092 |
| 196 | |
| 197 | voltha-tracing: |
| 198 | enabled: false |
| 199 | tracing: |
| 200 | maxTraces: 500000 |
| 201 | |
| 202 | efk: |
| 203 | enabled: false |
| 204 | |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 205 | # START EFK Setup to push voltha logs |
| 206 | # elasticstack config |
| 207 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch |
| 208 | elasticsearch: |
| 209 | replicas: 1 |
| 210 | minimumMasterNodes: 1 |
| 211 | # set cpu and memory configuration |
| 212 | resources: |
| 213 | requests: |
| 214 | cpu: "400m" |
| 215 | memory: "1Gi" |
| 216 | limits: |
| 217 | cpu: "1000m" |
| 218 | memory: "2Gi" |
| 219 | # setup persistence volume.By default persistence volumeclaim is disabled |
| 220 | volumeClaimTemplate: |
| 221 | accessModes: ["ReadWriteOnce"] |
| 222 | resources: |
| 223 | requests: |
| 224 | storage: 5Gi |
| 225 | persistence: |
| 226 | enabled: false |
| 227 | # setup cluster health status as yellow |
| 228 | clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s" |
| 229 | |
| 230 | # kibana config |
| 231 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana |
| 232 | kibana: |
| 233 | elasticsearchHosts: "http://elasticsearch-master:9200" |
| 234 | |
| 235 | # fluentd-elasticsearch config |
| 236 | # ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch |
| 237 | fluentd-elasticsearch: |
| 238 | elasticsearch: |
| 239 | # set elasticsearch host |
| 240 | hosts: ["elasticsearch-master:9200"] |
| 241 | sslVerify: false |