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 | dcd29f5 | 2019-10-07 15:42:42 -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 | 801a0ec | 2019-09-26 15:48:06 +0000 | [diff] [blame] | 24 | defaults: |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 25 | image_tag: master |
Matteo Scandolo | e0829b5 | 2020-05-08 14:23: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 K. Bainbridge | e3016f7 | 2020-01-30 09:48:34 -0800 | [diff] [blame] | 31 | # OFAGENT IMPLEMENTATION |
| 32 | # ---------------------- |
| 33 | # There are currently two implementations of OFAGENT: the original written in |
| 34 | # Python and the reimplementation written in Go. The variable `use_ofagent_go` |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 35 | # can be used to optionally select the implementation. The Go version is the |
| 36 | # version to be part of the official release and is the default. The Python |
| 37 | # verison has been deprecated and is no longer being actively workes, but is |
| 38 | # being left as an option for this release. |
| 39 | # |
| 40 | # Along with this change you will also may need to set the Docker image |
| 41 | # information below (search for START_OFAGENT_GO). |
| 42 | use_ofagent_go: true |
David K. Bainbridge | e3016f7 | 2020-01-30 09:48:34 -0800 | [diff] [blame] | 43 | |
Holger Hildebrandt | 03ca769 | 2020-04-14 10:55:43 +0000 | [diff] [blame] | 44 | # OPENONU-ADAPTER IMPLEMENTATION |
| 45 | # ------------------------------ |
| 46 | # There are currently two implementations of OPENONU-ADAPTER: the original |
| 47 | # written in Python and the reimplementation written in Go. The variable |
| 48 | # `use_openonu_adapter_go` can be used to optionally use the new Go |
| 49 | # implementation. This is done by setting that value to `true`. |
| 50 | # |
| 51 | # Along with this change you will also may need to set the Docker image |
| 52 | # information below (search for START_OPENONU_ADAPTER_GO). |
| 53 | use_openonu_adapter_go: false |
| 54 | |
David Bainbridge | e10f6d5 | 2019-07-25 00:28:13 +0000 | [diff] [blame] | 55 | images: |
David Bainbridge | ac7f807 | 2019-08-01 22:15:33 +0000 | [diff] [blame] | 56 | onos: |
David Bainbridge | d31d612 | 2019-08-13 19:37:59 +0000 | [diff] [blame] | 57 | repository: voltha/voltha-onos |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 58 | # IMAGE_SELECTION |
| 59 | # --------------- |
| 60 | # The helm chart used to deploy ONOS is the public ONOS helm chart so, |
| 61 | # there is a need to specify the exact image repository and image tag. |
Matteo Scandolo | dcd29f5 | 2019-10-07 15:42:42 -0700 | [diff] [blame] | 62 | # 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] | 63 | # just replace the "tag" value below. |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 64 | tag: master |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 65 | |
| 66 | # IMAGE_SELECTION |
| 67 | # --------------- |
| 68 | # Below are a list of all the images utilized by kind-voltha. This list is |
| 69 | # provided as a conveinence if you would like to override on a per image |
| 70 | # basis. If you are using the defaults, master, or voltha-2.1 branch there |
| 71 | # is no need to utilize this list. |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 72 | # adapter_open_olt: |
David Bainbridge | bb32bc1 | 2019-08-23 22:54:49 +0000 | [diff] [blame] | 73 | # repository: voltha/voltha-openolt-adapter |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 74 | # tag: 2.1.1 |
| 75 | # adapter_open_onu: |
David Bainbridge | bb32bc1 | 2019-08-23 22:54:49 +0000 | [diff] [blame] | 76 | # repository: voltha/voltha-openonu-adapter |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 77 | # tag: 2.1.0 |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 78 | # adapter_simulated_olt: |
| 79 | # repository: voltha/voltha-adapter-simulated-olt |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 80 | # tag: 2.1.1 |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 81 | # adapter_simulated_onu: |
| 82 | # repository: voltha/voltha-adapter-simulated-onu |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 83 | # tag: 2.1.1 |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 84 | # bbsim: |
| 85 | # repository: voltha/bbsim |
| 86 | # tag: master |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame^] | 87 | # START_OFAGENT_GO - Comment the following block to use the Python |
| 88 | # implementation of the ofagent |
David Bainbridge | 6ca4010 | 2020-04-08 11:30:40 -0700 | [diff] [blame] | 89 | # ofagent_go: |
David Bainbridge | 52e6e9d | 2020-03-23 13:48:27 -0700 | [diff] [blame] | 90 | # repository: voltha/voltha-ofagent-go |
| 91 | # tag: master |
David K. Bainbridge | e3016f7 | 2020-01-30 09:48:34 -0800 | [diff] [blame] | 92 | # END_OFAGENT_GO |
David Bainbridge | 6ca4010 | 2020-04-08 11:30:40 -0700 | [diff] [blame] | 93 | # ofagent_py: |
David Bainbridge | 52e6e9d | 2020-03-23 13:48:27 -0700 | [diff] [blame] | 94 | # repository: voltha/voltha-ofagent-py |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 95 | # tag: 2.1.1 |
| 96 | # rw_core: |
David Bainbridge | bb32bc1 | 2019-08-23 22:54:49 +0000 | [diff] [blame] | 97 | # repository: voltha/voltha-rw-core |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 98 | # tag: 2.1.1 |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame^] | 99 | # START_OPENONU_ADAPTER_GO - Uncomment the following block to use the |
| 100 | # Go implementation of the openonu-adapter |
Holger Hildebrandt | 03ca769 | 2020-04-14 10:55:43 +0000 | [diff] [blame] | 101 | # adapter_open_onu_go: |
| 102 | # repository: voltha-openonu-adapter-go |
| 103 | # tag: master |
| 104 | # END_OPENONU_ADAPTER_GO |
David Bainbridge | e10f6d5 | 2019-07-25 00:28:13 +0000 | [diff] [blame] | 105 | |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame^] | 106 | etcd: |
| 107 | replicas: 1 |
| 108 | extraEnv: |
| 109 | - name: ETCD_AUTO_COMPACTION_RETENTION |
| 110 | value: "1" |
| 111 | - name: ETCD_SNAPSHOT_COUNT |
| 112 | value: "100000" |
| 113 | - name: ETCD_HEARTBEAT_INTERVAL |
| 114 | value: "100" |
| 115 | - name: ETCD_ELECTION_TIMEOUT |
| 116 | value: "1000" |
| 117 | - name: ETCD_MAX_SNAPSHOTS |
| 118 | value: "5" |
| 119 | - name: ETCD_QUOTA_BACKEND_BYTES |
| 120 | value: "0" |
| 121 | - name: ETCD_MAX_REQUEST_BYTES |
| 122 | value: "1572864" |
| 123 | - name: ETCD_GRPC_KEEPALIVE_MIN_TIME |
| 124 | value: "5s" |
| 125 | - name: ETCD_GRPC_KEEPALIVE_TIMEOUT |
| 126 | value: "5s" |
| 127 | - name: ETCD_DEBUG |
| 128 | value: "false" |
David K. Bainbridge | 4ecc126 | 2019-07-01 13:39:11 -0700 | [diff] [blame] | 129 | |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 130 | kafka: |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame^] | 131 | zookeeper: |
| 132 | replicaCount: 1 |
| 133 | persistence: |
| 134 | enabled: false |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 135 | replicas: 1 |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame^] | 136 | persistence: |
| 137 | enabled: false |
| 138 | envOverrides: |
| 139 | KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR |
| 140 | KAFKA_TOOLS_LOG4J_LOGLEVEL: ERROR |
| 141 | # yamllint disable-line rule:line-length |
| 142 | KAFKA_LOG4J.LOGGERS: "kafka.zookeeper=ERROR,state.change.logger=ERROR,kafka=ERROR,kafka.controller=ERROR" |
| 143 | KAFKA_LOG_RETENTION_HOURS: 1 |
| 144 | KAFKA_DEFAULT_REPLICATION_FACTOR: 1 |
| 145 | KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 146 | |
David K. Bainbridge | 4ecc126 | 2019-07-01 13:39:11 -0700 | [diff] [blame] | 147 | onos_env: |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 148 | - name: POD_IP |
| 149 | valueFrom: |
| 150 | fieldRef: |
| 151 | fieldPath: status.podIP |
| 152 | - name: NAMESPACE |
| 153 | valueFrom: |
| 154 | fieldRef: |
| 155 | fieldPath: metadata.namespace |
| 156 | - name: ONOS_APPS |
| 157 | value: "drivers,openflow-base,hostprovider" |
David K. Bainbridge | f1c8f4c | 2019-07-01 14:30:38 -0700 | [diff] [blame] | 158 | |
Andrea Campanella | 7e30faf | 2020-05-05 13:26:05 +0200 | [diff] [blame] | 159 | # No persistent volume in Atomix to have clean state for each re-deploy of ONOS |
| 160 | atomix: |
| 161 | persistence: |
| 162 | enabled: false |
| 163 | |
David K. Bainbridge | f1c8f4c | 2019-07-01 14:30:38 -0700 | [diff] [blame] | 164 | # Customization for BBSIM |
| 165 | kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092' |
Hardik Windlass | 678cafb | 2020-02-11 15:34:37 +0000 | [diff] [blame] | 166 | pon: 1 |
| 167 | onu: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 168 | |
| 169 | # SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR |
| 170 | # The VOLTHA charts have support for adding extra labels to deployments and |
| 171 | # pods. These extra labels can be used to integrate with other utilities |
| 172 | # such as kube-monkey to add a bit of chaos to the cluster. Below are some |
| 173 | # settings that can be uncommented to opt-in VOLTHA deployments/pods to |
| 174 | # kube-monkey. For example, if you want ALL deployments and pods to opt-in |
| 175 | # then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks. |
| 176 | # If you want to be more selected then comment the blocks that pertain to the |
| 177 | # targets you care about. |
| 178 | |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 179 | # extra_deployment_labels: |
| 180 | # kube-monkey/enabled: enabled |
| 181 | # kube-monkey/identifier: monkey-victim |
| 182 | # kube-monkey/mtbf: 1 |
| 183 | # kube-monkey/kill-mode: fixed |
| 184 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 185 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 186 | # extra_pod_labels: |
| 187 | # kube-monkey/enabled: enabled |
| 188 | # kube-monkey/identifier: monkey-victim |
| 189 | # kube-monkey/mtbf: 1 |
| 190 | # kube-monkey/kill-mode: fixed |
| 191 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 192 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 193 | # rw_core_deployment_labels: |
| 194 | # kube-monkey/enabled: enabled |
| 195 | # kube-monkey/identifier: monkey-victim |
| 196 | # kube-monkey/mtbf: 1 |
| 197 | # kube-monkey/kill-mode: fixed |
| 198 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 199 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 200 | # rw_core_pod_labels: |
| 201 | # kube-monkey/enabled: enabled |
| 202 | # kube-monkey/identifier: monkey-victim |
| 203 | # kube-monkey/mtbf: 1 |
| 204 | # kube-monkey/kill-mode: fixed |
| 205 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 206 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 207 | # ofagent_deployment_labels: |
| 208 | # kube-monkey/enabled: enabled |
| 209 | # kube-monkey/identifier: monkey-victim |
| 210 | # kube-monkey/mtbf: 1 |
| 211 | # kube-monkey/kill-mode: fixed |
| 212 | # kube-monkey/kill-value: 1 |
David Bainbridge | 801a0ec | 2019-09-26 15:48:06 +0000 | [diff] [blame] | 213 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 214 | # ofagent_pod_labels: |
| 215 | # kube-monkey/enabled: enabled |
| 216 | # kube-monkey/identifier: monkey-victim |
| 217 | # kube-monkey/mtbf: 1 |
| 218 | # kube-monkey/kill-mode: fixed |
| 219 | # kube-monkey/kill-value: 1 |
David Bainbridge | 801a0ec | 2019-09-26 15:48:06 +0000 | [diff] [blame] | 220 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 221 | # openolt_deployment_labels: |
| 222 | # kube-monkey/enabled: enabled |
| 223 | # kube-monkey/identifier: monkey-victim |
| 224 | # kube-monkey/mtbf: 1 |
| 225 | # kube-monkey/kill-mode: fixed |
| 226 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 227 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 228 | # openolt_pod_labels: |
| 229 | # kube-monkey/enabled: enabled |
| 230 | # kube-monkey/identifier: monkey-victim |
| 231 | # kube-monkey/mtbf: 1 |
| 232 | # kube-monkey/kill-mode: fixed |
| 233 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 234 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 235 | # openonu_deployment_labels: |
| 236 | # kube-monkey/enabled: enabled |
| 237 | # kube-monkey/identifier: monkey-victim |
| 238 | # kube-monkey/mtbf: 1 |
| 239 | # kube-monkey/kill-mode: fixed |
| 240 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 241 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 242 | # openonu_pod_labels: |
| 243 | # kube-monkey/enabled: enabled |
| 244 | # kube-monkey/identifier: monkey-victim |
| 245 | # kube-monkey/mtbf: 1 |
| 246 | # kube-monkey/kill-mode: fixed |
| 247 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 248 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 249 | # simolt_deployment_labels: |
| 250 | # kube-monkey/enabled: enabled |
| 251 | # kube-monkey/identifier: monkey-victim |
| 252 | # kube-monkey/mtbf: 1 |
| 253 | # kube-monkey/kill-mode: fixed |
| 254 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 255 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 256 | # simolt_pod_labels: |
| 257 | # kube-monkey/enabled: enabled |
| 258 | # kube-monkey/identifier: monkey-victim |
| 259 | # kube-monkey/mtbf: 1 |
| 260 | # kube-monkey/kill-mode: fixed |
| 261 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 262 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 263 | # simonu_deployment_labels: |
| 264 | # kube-monkey/enabled: enabled |
| 265 | # kube-monkey/identifier: monkey-victim |
| 266 | # kube-monkey/mtbf: 1 |
| 267 | # kube-monkey/kill-mode: fixed |
| 268 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 269 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 270 | # simonu_pod_labels: |
| 271 | # kube-monkey/enabled: enabled |
| 272 | # kube-monkey/identifier: monkey-victim |
| 273 | # kube-monkey/mtbf: 1 |
| 274 | # kube-monkey/kill-mode: fixed |
| 275 | # kube-monkey/kill-value: 1 |