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 K. Bainbridge | 4ecc126 | 2019-07-01 13:39:11 -0700 | [diff] [blame] | 26 | |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 27 | private_etcd_cluster: false |
| 28 | private_kafka_cluster: false |
| 29 | |
David Bainbridge | 6040df1 | 2020-06-11 17:54:21 +0000 | [diff] [blame^] | 30 | # OFAGENT IMPLEMENTATION |
| 31 | # ---------------------- |
| 32 | # There are currently two implementations of OFAGENT: the original written in |
| 33 | # Python and the reimplementation written in Go. The variable `use_ofagent_go` |
| 34 | # can be used to optionally select the implementation. The Go version is the |
| 35 | # version to be part of the official release and is the default. The Python |
| 36 | # verison has been deprecated and is no longer being actively workes, but is |
| 37 | # being left as an option for this release. |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 38 | # |
| 39 | # Along with this change you will also may need to set the Docker image |
David Bainbridge | 6040df1 | 2020-06-11 17:54:21 +0000 | [diff] [blame^] | 40 | # information below (search for START_OFAGENT_GO). |
| 41 | use_ofagent_go: true |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 42 | |
David Bainbridge | 6040df1 | 2020-06-11 17:54:21 +0000 | [diff] [blame^] | 43 | images: |
| 44 | onos: |
| 45 | repository: voltha/voltha-onos |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 46 | # IMAGE_SELECTION |
| 47 | # --------------- |
| 48 | # The helm chart used to deploy ONOS is the public ONOS helm chart so, |
| 49 | # 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] | 50 | # 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] | 51 | # just replace the "tag" value below. |
David Bainbridge | 6040df1 | 2020-06-11 17:54:21 +0000 | [diff] [blame^] | 52 | tag: master |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 53 | |
| 54 | # IMAGE_SELECTION |
| 55 | # --------------- |
| 56 | # Below are a list of all the images utilized by kind-voltha. This list is |
| 57 | # provided as a conveinence if you would like to override on a per image |
| 58 | # basis. If you are using the defaults, master, or voltha-2.1 branch there |
| 59 | # is no need to utilize this list. |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 60 | # adapter_open_olt: |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 61 | # repository: voltha/voltha-openolt-adapter |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 62 | # tag: 2.1.1 |
| 63 | # adapter_open_onu: |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 64 | # repository: voltha/voltha-openonu-adapter |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 65 | # tag: 2.1.0 |
| 66 | # adapter_simulated_olt: |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 67 | # repository: voltha/voltha-adapter-simulated-olt |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 68 | # tag: 2.1.1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 69 | # adapter_simulated_onu: |
| 70 | # repository: voltha/voltha-adapter-simulated-onu |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 71 | # tag: 2.1.1 |
| 72 | # bbsim: |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 73 | # repository: voltha/bbsim |
| 74 | # tag: master |
David Bainbridge | 6040df1 | 2020-06-11 17:54:21 +0000 | [diff] [blame^] | 75 | # START_OFAGENT_GO - Comment the following block to use the |
| 76 | # Python implementation of the ofagent |
David Bainbridge | 52e6e9d | 2020-03-23 13:48:27 -0700 | [diff] [blame] | 77 | # ofagent: |
| 78 | # repository: voltha/voltha-ofagent-go |
| 79 | # tag: master |
David Bainbridge | 6040df1 | 2020-06-11 17:54:21 +0000 | [diff] [blame^] | 80 | # END_OFAGENT_GO |
| 81 | # ofagent: |
| 82 | # repository: voltha/voltha-ofagent-py |
| 83 | # tag: 2.1.1 |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 84 | # rw_core: |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 85 | # repository: voltha/voltha-rw-core |
David Bainbridge | 90fd8e3 | 2019-08-21 23:32:47 +0000 | [diff] [blame] | 86 | # tag: 2.1.1 |
David Bainbridge | e10f6d5 | 2019-07-25 00:28:13 +0000 | [diff] [blame] | 87 | |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 88 | etcd: |
| 89 | replicas: 3 |
| 90 | extraEnv: |
| 91 | - name: ETCD_AUTO_COMPACTION_RETENTION |
| 92 | value: "1" |
| 93 | - name: ETCD_SNAPSHOT_COUNT |
| 94 | value: "100000" |
| 95 | - name: ETCD_HEARTBEAT_INTERVAL |
| 96 | value: "100" |
| 97 | - name: ETCD_ELECTION_TIMEOUT |
| 98 | value: "1000" |
| 99 | - name: ETCD_MAX_SNAPSHOTS |
| 100 | value: "5" |
| 101 | - name: ETCD_QUOTA_BACKEND_BYTES |
| 102 | value: "0" |
| 103 | - name: ETCD_MAX_REQUEST_BYTES |
| 104 | value: "1572864" |
| 105 | - name: ETCD_GRPC_KEEPALIVE_MIN_TIME |
| 106 | value: "5s" |
| 107 | - name: ETCD_GRPC_KEEPALIVE_TIMEOUT |
| 108 | value: "5s" |
| 109 | - name: ETCD_DEBUG |
| 110 | value: "false" |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 111 | |
| 112 | kafka: |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 113 | zookeeper: |
| 114 | replicaCount: 3 |
| 115 | persistence: |
| 116 | enabled: false |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 117 | replicas: 3 |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 118 | persistence: |
| 119 | enabled: false |
| 120 | envOverrides: |
| 121 | KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR |
| 122 | KAFKA_TOOLS_LOG4J_LOGLEVEL: ERROR |
| 123 | # yamllint disable-line rule:line-length |
| 124 | KAFKA_LOG4J.LOGGERS: "kafka.zookeeper=ERROR,state.change.logger=ERROR,kafka=ERROR,kafka.controller=ERROR" |
| 125 | KAFKA_LOG_RETENTION_HOURS: 1 |
| 126 | KAFKA_DEFAULT_REPLICATION_FACTOR: 1 |
| 127 | KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 128 | |
David Bainbridge | a965ca2 | 2020-06-09 17:45:04 -0700 | [diff] [blame] | 129 | # voltha: |
| 130 | # fullNameOverride: voltha |
| 131 | |
| 132 | # open-olt: |
| 133 | # fullNameOverride: voltha-adapter-openolt |
| 134 | |
| 135 | # open-onu: |
| 136 | # fullNameOverride: voltha-adapter-openonu |
| 137 | |
David Bainbridge | 6040df1 | 2020-06-11 17:54:21 +0000 | [diff] [blame^] | 138 | onos_env: |
| 139 | - name: POD_IP |
| 140 | valueFrom: |
| 141 | fieldRef: |
| 142 | fieldPath: status.podIP |
| 143 | - name: NAMESPACE |
| 144 | valueFrom: |
| 145 | fieldRef: |
| 146 | fieldPath: metadata.namespace |
| 147 | - name: ONOS_APPS |
| 148 | value: "drivers,openflow-base,hostprovider" |
| 149 | |
| 150 | # No persistent volume in Atomix to have clean state for each re-deploy of ONOS |
| 151 | atomix: |
| 152 | persistence: |
| 153 | enabled: false |
Andrea Campanella | 7e30faf | 2020-05-05 13:26:05 +0200 | [diff] [blame] | 154 | |
David K. Bainbridge | f1c8f4c | 2019-07-01 14:30:38 -0700 | [diff] [blame] | 155 | # Customization for BBSIM |
David Bainbridge | 6040df1 | 2020-06-11 17:54:21 +0000 | [diff] [blame^] | 156 | kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092' |
| 157 | pon: 1 |
| 158 | onu: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 159 | |
| 160 | # SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR |
| 161 | # The VOLTHA charts have support for adding extra labels to deployments and |
| 162 | # pods. These extra labels can be used to integrate with other utilities |
| 163 | # such as kube-monkey to add a bit of chaos to the cluster. Below are some |
| 164 | # settings that can be uncommented to opt-in VOLTHA deployments/pods to |
| 165 | # kube-monkey. For example, if you want ALL deployments and pods to opt-in |
| 166 | # then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks. |
| 167 | # If you want to be more selected then comment the blocks that pertain to the |
| 168 | # targets you care about. |
| 169 | |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 170 | # extra_deployment_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 | # extra_pod_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 | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 183 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 184 | # rw_core_deployment_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 | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 190 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 191 | # rw_core_pod_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 | # ofagent_deployment_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 | # ofagent_pod_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 | # openolt_deployment_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 | # openolt_pod_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 | # openonu_deployment_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 | # openonu_pod_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 | # simolt_deployment_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 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 246 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 247 | # simolt_pod_labels: |
| 248 | # kube-monkey/enabled: enabled |
| 249 | # kube-monkey/identifier: monkey-victim |
| 250 | # kube-monkey/mtbf: 1 |
| 251 | # kube-monkey/kill-mode: fixed |
| 252 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 253 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 254 | # simonu_deployment_labels: |
| 255 | # kube-monkey/enabled: enabled |
| 256 | # kube-monkey/identifier: monkey-victim |
| 257 | # kube-monkey/mtbf: 1 |
| 258 | # kube-monkey/kill-mode: fixed |
| 259 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 260 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 261 | # simonu_pod_labels: |
| 262 | # kube-monkey/enabled: enabled |
| 263 | # kube-monkey/identifier: monkey-victim |
| 264 | # kube-monkey/mtbf: 1 |
| 265 | # kube-monkey/kill-mode: fixed |
| 266 | # kube-monkey/kill-value: 1 |