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 | |
| 24 | images: |
| 25 | onos_config_loader: |
| 26 | registry: '{{ .Values.global.image_registry }}' |
| 27 | repository: '{{ .Values.global.image_org }}voltha-ci-tools' |
Matteo Scandolo | cb54382 | 2021-05-04 14:49:50 -0700 | [diff] [blame] | 28 | 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 Scandolo | a0fc940 | 2021-04-09 16:09:03 -0700 | [diff] [blame] | 29 | pullPolicy: '{{ .Values.global.image_pullPolicy }}' |
| 30 | |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 31 | # components config |
| 32 | onos-classic: |
| 33 | enabled: true |
| 34 | replicas: 1 |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 35 | image: |
| 36 | pullPolicy: Always |
| 37 | repository: voltha/voltha-onos |
Andrea Campanella | 7eb7456 | 2021-06-07 15:15:01 +0200 | [diff] [blame] | 38 | tag: 5.0.0 |
Andrea Campanella | ebb8687 | 2021-02-19 14:31:17 +0100 | [diff] [blame] | 39 | apps: |
| 40 | - org.onosproject.lldpprovider |
| 41 | - org.onosproject.openflow-base |
| 42 | - org.onosproject.gui2 |
| 43 | - org.onosproject.drivers |
| 44 | - org.onosproject.mcast |
Andrea Campanella | 7eb7456 | 2021-06-07 15:15:01 +0200 | [diff] [blame] | 45 | - org.onosproject.segmentrouting |
Andrea Campanella | ebb8687 | 2021-02-19 14:31:17 +0100 | [diff] [blame] | 46 | - 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 Campanella | 1d28445 | 2021-04-20 10:23:42 +0200 | [diff] [blame] | 53 | 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 Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 66 | |
| 67 | bbsim-sadis-server: |
| 68 | enabled: true |
| 69 | replicas: 1 |
| 70 | |
| 71 | radius: |
| 72 | enabled: true |
| 73 | |
| 74 | etcd: |
| 75 | enabled: true |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 76 | |
| 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. Bainbridge | 637751d | 2021-03-25 22:18:08 +0000 | [diff] [blame] | 83 | 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 Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 95 | auth: |
| 96 | rbac: |
| 97 | enabled: false |
| 98 | persistence: |
| 99 | enabled: false |
| 100 | statefulset: |
| 101 | replicaCount: 1 |
| 102 | service: |
| 103 | port: 2379 |
Girish Gowdra | 75ae4db | 2021-05-27 15:52:04 -0700 | [diff] [blame] | 104 | autoCompactionMode: "revision" |
| 105 | autoCompactionRetention: 1 |
| 106 | extraEnvVars: |
| 107 | - name: ETCD_ELECTION_TIMEOUT |
| 108 | value: "5000" |
| 109 | - name: ETCD_HEARTBEAT_INTERVAL |
| 110 | value: "1000" |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 111 | |
| 112 | kafka: |
| 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 | |
| 124 | voltha-tracing: |
| 125 | enabled: false |
| 126 | tracing: |
| 127 | maxTraces: 500000 |
| 128 | |
| 129 | efk: |
| 130 | enabled: false |
| 131 | |
| 132 | # onos configuration |
| 133 | # used in the job "onos-config-loader" |
| 134 | onos: |
| 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 Campanella | 0d7691b | 2021-02-18 17:56:20 +0100 | [diff] [blame] | 197 | "org.onosproject.net.flow.impl.FlowRuleManager": > |
| 198 | { |
| 199 | "purgeOnDisconnection": "false" |
| 200 | } |
| 201 | "org.onosproject.net.meter.impl.MeterManager": > |
| 202 | { |
| 203 | "purgeOnDisconnection": "false" |
| 204 | } |
Andrea Campanella | ebb8687 | 2021-02-19 14:31:17 +0100 | [diff] [blame] | 205 | "org.onosproject.net.group.impl.GroupManager": > |
Andrea Campanella | 0d7691b | 2021-02-18 17:56:20 +0100 | [diff] [blame] | 206 | { |
| 207 | "purgeOnDisconnection": "false" |
| 208 | } |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 209 | |
| 210 | # START EFK Setup to push voltha logs |
| 211 | # elasticstack config |
| 212 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch |
| 213 | elasticsearch: |
| 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 |
| 237 | kibana: |
| 238 | elasticsearchHosts: "http://elasticsearch-master:9200" |
| 239 | |
| 240 | # fluentd-elasticsearch config |
| 241 | # ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch |
| 242 | fluentd-elasticsearch: |
| 243 | elasticsearch: |
| 244 | # set elasticsearch host |
| 245 | hosts: ["elasticsearch-master:9200"] |
| 246 | sslVerify: false |