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