Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 1 | --- |
David K. Bainbridge | 4ecc126 | 2019-07-01 13:39:11 -0700 | [diff] [blame] | 2 | # Copyright 2019 Ciena Corporation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 16 | # IMAGE SELECTION |
| 17 | # --------------- |
| 18 | # By default no defaults are set and the image tags specified in the helm |
| 19 | # charts will be used. If you would like to use the images generated from the |
| 20 | # HEAD of the "master" git branches, then uncomment this below block and |
Matteo Scandolo | 209547b | 2019-11-01 14:48:15 -0700 | [diff] [blame] | 21 | # set "<VALUE>" to "master". Similarly, if you want to use the images |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 22 | # generated from the HEAD of the "voltha-2.1" git branches, then uncomment |
| 23 | # this block and replace "<VALUE>" with "voltha-2.1". |
David Bainbridge | 70c0ea8 | 2019-11-14 23:25:26 +0000 | [diff] [blame] | 24 | defaults: |
| 25 | image_tag: master |
David Bainbridge | 33e56c7 | 2020-06-11 11:39:56 -0700 | [diff] [blame] | 26 | image_pullPolicy: Always |
David K. Bainbridge | 4ecc126 | 2019-07-01 13:39:11 -0700 | [diff] [blame] | 27 | |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 28 | private_etcd_cluster: false |
| 29 | private_kafka_cluster: false |
| 30 | |
David Bainbridge | 33e56c7 | 2020-06-11 11:39:56 -0700 | [diff] [blame] | 31 | # OPENONU-ADAPTER IMPLEMENTATION |
| 32 | # ------------------------------ |
| 33 | # There are currently two implementations of OPENONU-ADAPTER: the original |
| 34 | # written in Python and the reimplementation written in Go. The variable |
| 35 | # `use_openonu_adapter_go` can be used to optionally use the new Go |
| 36 | # implementation. This is done by setting that value to `true`. |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 37 | # |
| 38 | # Along with this change you will also may need to set the Docker image |
David Bainbridge | 33e56c7 | 2020-06-11 11:39:56 -0700 | [diff] [blame] | 39 | # information below (search for START_OPENONU_ADAPTER_GO). |
| 40 | use_openonu_adapter_go: false |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 41 | |
David Bainbridge | 6040df1 | 2020-06-11 17:54:21 +0000 | [diff] [blame] | 42 | images: |
| 43 | onos: |
| 44 | repository: voltha/voltha-onos |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 45 | # IMAGE_SELECTION |
| 46 | # --------------- |
| 47 | # The helm chart used to deploy ONOS is the public ONOS helm chart so, |
| 48 | # there is a need to specify the exact image repository and image tag. |
Matteo Scandolo | 209547b | 2019-11-01 14:48:15 -0700 | [diff] [blame] | 49 | # If you would like to use the "master", "voltha-2.1", or other image |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 50 | # just replace the "tag" value below. |
David Bainbridge | 6040df1 | 2020-06-11 17:54:21 +0000 | [diff] [blame] | 51 | tag: master |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 52 | |
| 53 | # IMAGE_SELECTION |
| 54 | # --------------- |
| 55 | # Below are a list of all the images utilized by kind-voltha. This list is |
| 56 | # provided as a conveinence if you would like to override on a per image |
| 57 | # basis. If you are using the defaults, master, or voltha-2.1 branch there |
| 58 | # is no need to utilize this list. |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 59 | # adapter_open_olt: |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 60 | # repository: voltha/voltha-openolt-adapter |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 61 | # tag: 2.1.1 |
| 62 | # adapter_open_onu: |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 63 | # repository: voltha/voltha-openonu-adapter |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 64 | # tag: 2.1.0 |
| 65 | # adapter_simulated_olt: |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 66 | # repository: voltha/voltha-adapter-simulated-olt |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 67 | # tag: 2.1.1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 68 | # adapter_simulated_onu: |
| 69 | # repository: voltha/voltha-adapter-simulated-onu |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 70 | # tag: 2.1.1 |
| 71 | # bbsim: |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 72 | # repository: voltha/bbsim |
| 73 | # tag: master |
David Bainbridge | 52e6e9d | 2020-03-23 13:48:27 -0700 | [diff] [blame] | 74 | # ofagent: |
| 75 | # repository: voltha/voltha-ofagent-go |
| 76 | # tag: master |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 77 | # rw_core: |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 78 | # repository: voltha/voltha-rw-core |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 79 | # tag: 2.1.1 |
David Bainbridge | 33e56c7 | 2020-06-11 11:39:56 -0700 | [diff] [blame] | 80 | # START_OPENONU_ADAPTER_GO - Uncomment the following block to use the |
| 81 | # Go implementation of the openonu-adapter |
| 82 | # adapter_open_onu_go: |
| 83 | # repository: voltha-openonu-adapter-go |
| 84 | # tag: master |
| 85 | # END_OPENONU_ADAPTER_GO |
David Bainbridge | e10f6d5 | 2019-07-25 00:28:13 +0000 | [diff] [blame] | 86 | |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 87 | etcd: |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 88 | extraEnv: |
| 89 | - name: ETCD_AUTO_COMPACTION_RETENTION |
| 90 | value: "1" |
| 91 | - name: ETCD_SNAPSHOT_COUNT |
| 92 | value: "100000" |
| 93 | - name: ETCD_HEARTBEAT_INTERVAL |
| 94 | value: "100" |
| 95 | - name: ETCD_ELECTION_TIMEOUT |
| 96 | value: "1000" |
| 97 | - name: ETCD_MAX_SNAPSHOTS |
| 98 | value: "5" |
| 99 | - name: ETCD_QUOTA_BACKEND_BYTES |
| 100 | value: "0" |
| 101 | - name: ETCD_MAX_REQUEST_BYTES |
| 102 | value: "1572864" |
| 103 | - name: ETCD_GRPC_KEEPALIVE_MIN_TIME |
| 104 | value: "5s" |
| 105 | - name: ETCD_GRPC_KEEPALIVE_TIMEOUT |
| 106 | value: "5s" |
| 107 | - name: ETCD_DEBUG |
| 108 | value: "false" |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 109 | |
| 110 | kafka: |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 111 | zookeeper: |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 112 | persistence: |
| 113 | enabled: false |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 114 | persistence: |
| 115 | enabled: false |
| 116 | envOverrides: |
| 117 | KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR |
| 118 | KAFKA_TOOLS_LOG4J_LOGLEVEL: ERROR |
| 119 | # yamllint disable-line rule:line-length |
| 120 | KAFKA_LOG4J.LOGGERS: "kafka.zookeeper=ERROR,state.change.logger=ERROR,kafka=ERROR,kafka.controller=ERROR" |
| 121 | KAFKA_LOG_RETENTION_HOURS: 1 |
| 122 | KAFKA_DEFAULT_REPLICATION_FACTOR: 1 |
| 123 | KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 124 | |
David Bainbridge | a965ca2 | 2020-06-09 17:45:04 -0700 | [diff] [blame] | 125 | # voltha: |
| 126 | # fullNameOverride: voltha |
| 127 | |
| 128 | # open-olt: |
| 129 | # fullNameOverride: voltha-adapter-openolt |
| 130 | |
| 131 | # open-onu: |
| 132 | # fullNameOverride: voltha-adapter-openonu |
| 133 | |
David Bainbridge | 33e56c7 | 2020-06-11 11:39:56 -0700 | [diff] [blame] | 134 | onos: |
| 135 | image: |
| 136 | repository: voltha/voltha-onos |
| 137 | tag: master |
| 138 | pullPolicy: Always |
| 139 | onos_env: |
| 140 | - name: POD_IP |
| 141 | valueFrom: |
| 142 | fieldRef: |
| 143 | fieldPath: status.podIP |
| 144 | - name: NAMESPACE |
| 145 | valueFrom: |
| 146 | fieldRef: |
| 147 | fieldPath: metadata.namespace |
| 148 | - name: ONOS_APPS |
| 149 | value: "drivers,openflow-base,hostprovider" |
Andrea Campanella | 8b33672 | 2020-08-03 10:34:32 +0200 | [diff] [blame] | 150 | apps: |
| 151 | - org.onosproject.lldpprovider |
| 152 | - org.onosproject.openflow-base |
| 153 | - org.onosproject.gui2 |
| 154 | - org.onosproject.drivers |
| 155 | - org.onosproject.mcast |
| 156 | - org.opencord.kafka |
| 157 | - org.opencord.sadis |
| 158 | - org.opencord.dhcpl2relay |
| 159 | - org.opencord.maclearner |
| 160 | - org.opencord.igmpproxy |
| 161 | - org.opencord.mcast |
| 162 | - org.opencord.olt |
| 163 | - org.opencord.aaa |
David Bainbridge | 33e56c7 | 2020-06-11 11:39:56 -0700 | [diff] [blame] | 164 | # No persistent volume in Atomix to have clean state for each re-deploy of ONOS |
| 165 | atomix: |
| 166 | persistence: |
| 167 | enabled: false |
Andrea Campanella | 7e30faf | 2020-05-05 13:26:05 +0200 | [diff] [blame] | 168 | |
David K. Bainbridge | f1c8f4c | 2019-07-01 14:30:38 -0700 | [diff] [blame] | 169 | # Customization for BBSIM |
David Bainbridge | 33e56c7 | 2020-06-11 11:39:56 -0700 | [diff] [blame] | 170 | bbsim: |
| 171 | nni: 1 |
| 172 | pon: 1 |
| 173 | onu: 1 |
| 174 | sadisFormat: "att" |
| 175 | kafkaEventTopic: "bbsim" |
| 176 | enableEvents: false |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 177 | |
David Bainbridge | 879439b | 2020-06-12 15:59:35 -0700 | [diff] [blame] | 178 | # Customization for BBSIM SADIS Servier |
| 179 | sadis: |
| 180 | config: |
| 181 | bbsim_sadis_server: |
| 182 | sleep_time: 5s |
| 183 | |
divyadesai | 59f987a | 2020-05-27 12:11:33 +0000 | [diff] [blame] | 184 | # START EFK Setup to push voltha logs |
| 185 | # elasticstack config |
| 186 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch |
| 187 | elasticsearch: |
| 188 | replicas: 1 |
| 189 | minimumMasterNodes: 1 |
| 190 | # set cpu and memory configuration |
| 191 | resources: |
| 192 | requests: |
| 193 | cpu: "400m" |
| 194 | memory: "1Gi" |
| 195 | limits: |
| 196 | cpu: "1000m" |
| 197 | memory: "2Gi" |
| 198 | # setup persistence volume.By default persistence volumeclaim is disabled |
| 199 | volumeClaimTemplate: |
| 200 | accessModes: ["ReadWriteOnce"] |
| 201 | resources: |
| 202 | requests: |
| 203 | storage: 5Gi |
| 204 | persistence: |
| 205 | enabled: false |
| 206 | # setup cluster health status as yellow |
| 207 | clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s" |
| 208 | |
| 209 | # kibana config |
| 210 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana |
| 211 | kibana: |
| 212 | elasticsearchHosts: "http://elasticsearch-master:9200" |
| 213 | |
| 214 | # fluentd-elasticsearch config |
| 215 | # ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch |
| 216 | fluentd-elasticsearch: |
| 217 | elasticsearch: |
| 218 | # set elasticsearch host |
| 219 | hosts: ["elasticsearch-master:9200"] |
| 220 | sslVerify: false |
| 221 | |
Girish Kumar | cc5f917 | 2020-06-10 13:34:31 +0000 | [diff] [blame] | 222 | # Increase maxTraces to retain Traces for longer duration |
| 223 | # But tracing pod will consume more memory |
| 224 | tracing: |
| 225 | maxTraces: 500000 |
| 226 | |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 227 | # SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR |
| 228 | # The VOLTHA charts have support for adding extra labels to deployments and |
| 229 | # pods. These extra labels can be used to integrate with other utilities |
| 230 | # such as kube-monkey to add a bit of chaos to the cluster. Below are some |
| 231 | # settings that can be uncommented to opt-in VOLTHA deployments/pods to |
| 232 | # kube-monkey. For example, if you want ALL deployments and pods to opt-in |
| 233 | # then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks. |
| 234 | # If you want to be more selected then comment the blocks that pertain to the |
| 235 | # targets you care about. |
| 236 | |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 237 | # extra_deployment_labels: |
| 238 | # kube-monkey/enabled: enabled |
| 239 | # kube-monkey/identifier: monkey-victim |
| 240 | # kube-monkey/mtbf: 1 |
| 241 | # kube-monkey/kill-mode: fixed |
| 242 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 243 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 244 | # extra_pod_labels: |
| 245 | # kube-monkey/enabled: enabled |
| 246 | # kube-monkey/identifier: monkey-victim |
| 247 | # kube-monkey/mtbf: 1 |
| 248 | # kube-monkey/kill-mode: fixed |
| 249 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 250 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 251 | # rw_core_deployment_labels: |
| 252 | # kube-monkey/enabled: enabled |
| 253 | # kube-monkey/identifier: monkey-victim |
| 254 | # kube-monkey/mtbf: 1 |
| 255 | # kube-monkey/kill-mode: fixed |
| 256 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 257 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 258 | # rw_core_pod_labels: |
| 259 | # kube-monkey/enabled: enabled |
| 260 | # kube-monkey/identifier: monkey-victim |
| 261 | # kube-monkey/mtbf: 1 |
| 262 | # kube-monkey/kill-mode: fixed |
| 263 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 264 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 265 | # ofagent_deployment_labels: |
| 266 | # kube-monkey/enabled: enabled |
| 267 | # kube-monkey/identifier: monkey-victim |
| 268 | # kube-monkey/mtbf: 1 |
| 269 | # kube-monkey/kill-mode: fixed |
| 270 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 271 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 272 | # ofagent_pod_labels: |
| 273 | # kube-monkey/enabled: enabled |
| 274 | # kube-monkey/identifier: monkey-victim |
| 275 | # kube-monkey/mtbf: 1 |
| 276 | # kube-monkey/kill-mode: fixed |
| 277 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 278 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 279 | # openolt_deployment_labels: |
| 280 | # kube-monkey/enabled: enabled |
| 281 | # kube-monkey/identifier: monkey-victim |
| 282 | # kube-monkey/mtbf: 1 |
| 283 | # kube-monkey/kill-mode: fixed |
| 284 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 285 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 286 | # openolt_pod_labels: |
| 287 | # kube-monkey/enabled: enabled |
| 288 | # kube-monkey/identifier: monkey-victim |
| 289 | # kube-monkey/mtbf: 1 |
| 290 | # kube-monkey/kill-mode: fixed |
| 291 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 292 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 293 | # openonu_deployment_labels: |
| 294 | # kube-monkey/enabled: enabled |
| 295 | # kube-monkey/identifier: monkey-victim |
| 296 | # kube-monkey/mtbf: 1 |
| 297 | # kube-monkey/kill-mode: fixed |
| 298 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 299 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 300 | # openonu_pod_labels: |
| 301 | # kube-monkey/enabled: enabled |
| 302 | # kube-monkey/identifier: monkey-victim |
| 303 | # kube-monkey/mtbf: 1 |
| 304 | # kube-monkey/kill-mode: fixed |
| 305 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 306 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 307 | # simolt_deployment_labels: |
| 308 | # kube-monkey/enabled: enabled |
| 309 | # kube-monkey/identifier: monkey-victim |
| 310 | # kube-monkey/mtbf: 1 |
| 311 | # kube-monkey/kill-mode: fixed |
| 312 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 313 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 314 | # simolt_pod_labels: |
| 315 | # kube-monkey/enabled: enabled |
| 316 | # kube-monkey/identifier: monkey-victim |
| 317 | # kube-monkey/mtbf: 1 |
| 318 | # kube-monkey/kill-mode: fixed |
| 319 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 320 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 321 | # simonu_deployment_labels: |
| 322 | # kube-monkey/enabled: enabled |
| 323 | # kube-monkey/identifier: monkey-victim |
| 324 | # kube-monkey/mtbf: 1 |
| 325 | # kube-monkey/kill-mode: fixed |
| 326 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 327 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 328 | # simonu_pod_labels: |
| 329 | # kube-monkey/enabled: enabled |
| 330 | # kube-monkey/identifier: monkey-victim |
| 331 | # kube-monkey/mtbf: 1 |
| 332 | # kube-monkey/kill-mode: fixed |
| 333 | # kube-monkey/kill-value: 1 |