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 | |
Holger Hildebrandt | 03ca769 | 2020-04-14 10:55:43 +0000 | [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`. |
| 37 | # |
| 38 | # Along with this change you will also may need to set the Docker image |
| 39 | # information below (search for START_OPENONU_ADAPTER_GO). |
| 40 | use_openonu_adapter_go: false |
| 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 | dcd29f5 | 2019-10-07 15:42:42 -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 | bb32bc1 | 2019-08-23 22:54:49 +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 | bb32bc1 | 2019-08-23 22:54:49 +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 |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 65 | # adapter_simulated_olt: |
| 66 | # repository: voltha/voltha-adapter-simulated-olt |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 67 | # tag: 2.1.1 |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 68 | # adapter_simulated_onu: |
| 69 | # repository: voltha/voltha-adapter-simulated-onu |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 70 | # tag: 2.1.1 |
Andy Bavier | 8fe14e0 | 2019-10-16 09:57:27 -0700 | [diff] [blame] | 71 | # bbsim: |
| 72 | # repository: voltha/bbsim |
| 73 | # tag: master |
David Bainbridge | ed47657 | 2020-06-02 14:05:45 -0700 | [diff] [blame] | 74 | # ofagent: |
David Bainbridge | 52e6e9d | 2020-03-23 13:48:27 -0700 | [diff] [blame] | 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 | bb32bc1 | 2019-08-23 22:54:49 +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 | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 80 | # START_OPENONU_ADAPTER_GO - Uncomment the following block to use the |
| 81 | # Go implementation of the openonu-adapter |
Holger Hildebrandt | 03ca769 | 2020-04-14 10:55:43 +0000 | [diff] [blame] | 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: |
| 88 | replicas: 1 |
| 89 | extraEnv: |
| 90 | - name: ETCD_AUTO_COMPACTION_RETENTION |
| 91 | value: "1" |
| 92 | - name: ETCD_SNAPSHOT_COUNT |
| 93 | value: "100000" |
| 94 | - name: ETCD_HEARTBEAT_INTERVAL |
| 95 | value: "100" |
| 96 | - name: ETCD_ELECTION_TIMEOUT |
| 97 | value: "1000" |
| 98 | - name: ETCD_MAX_SNAPSHOTS |
| 99 | value: "5" |
| 100 | - name: ETCD_QUOTA_BACKEND_BYTES |
| 101 | value: "0" |
| 102 | - name: ETCD_MAX_REQUEST_BYTES |
| 103 | value: "1572864" |
| 104 | - name: ETCD_GRPC_KEEPALIVE_MIN_TIME |
| 105 | value: "5s" |
| 106 | - name: ETCD_GRPC_KEEPALIVE_TIMEOUT |
| 107 | value: "5s" |
| 108 | - name: ETCD_DEBUG |
| 109 | value: "false" |
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: |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 112 | zookeeper: |
| 113 | replicaCount: 1 |
| 114 | persistence: |
| 115 | enabled: false |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 116 | replicas: 1 |
David Bainbridge | c722062 | 2020-05-28 12:31:47 -0700 | [diff] [blame] | 117 | persistence: |
| 118 | enabled: false |
| 119 | envOverrides: |
| 120 | KAFKA_LOG4J_ROOT_LOGLEVEL: ERROR |
| 121 | KAFKA_TOOLS_LOG4J_LOGLEVEL: ERROR |
| 122 | # yamllint disable-line rule:line-length |
| 123 | KAFKA_LOG4J.LOGGERS: "kafka.zookeeper=ERROR,state.change.logger=ERROR,kafka=ERROR,kafka.controller=ERROR" |
| 124 | KAFKA_LOG_RETENTION_HOURS: 1 |
| 125 | KAFKA_DEFAULT_REPLICATION_FACTOR: 1 |
| 126 | KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 |
David Bainbridge | fce8af4 | 2020-03-17 12:50:39 -0700 | [diff] [blame] | 127 | |
David Bainbridge | a965ca2 | 2020-06-09 17:45:04 -0700 | [diff] [blame] | 128 | # voltha: |
| 129 | # fullNameOverride: voltha |
| 130 | |
| 131 | # open-olt: |
| 132 | # fullNameOverride: voltha-adapter-openolt |
| 133 | |
| 134 | # open-onu: |
| 135 | # fullNameOverride: voltha-adapter-openonu |
| 136 | |
David Bainbridge | 33e56c7 | 2020-06-11 11:39:56 -0700 | [diff] [blame] | 137 | onos: |
| 138 | image: |
| 139 | repository: voltha/voltha-onos |
| 140 | tag: master |
| 141 | pullPolicy: Always |
| 142 | onos_env: |
| 143 | - name: POD_IP |
| 144 | valueFrom: |
| 145 | fieldRef: |
| 146 | fieldPath: status.podIP |
| 147 | - name: NAMESPACE |
| 148 | valueFrom: |
| 149 | fieldRef: |
| 150 | fieldPath: metadata.namespace |
| 151 | - name: ONOS_APPS |
| 152 | value: "drivers,openflow-base,hostprovider" |
| 153 | # No persistent volume in Atomix to have clean state for each re-deploy of ONOS |
| 154 | atomix: |
| 155 | persistence: |
| 156 | enabled: false |
Andrea Campanella | 7e30faf | 2020-05-05 13:26:05 +0200 | [diff] [blame] | 157 | |
David K. Bainbridge | f1c8f4c | 2019-07-01 14:30:38 -0700 | [diff] [blame] | 158 | # Customization for BBSIM |
David Bainbridge | 33e56c7 | 2020-06-11 11:39:56 -0700 | [diff] [blame] | 159 | bbsim: |
| 160 | nni: 1 |
| 161 | pon: 1 |
| 162 | onu: 1 |
| 163 | sadisFormat: "att" |
| 164 | kafkaEventTopic: "bbsim" |
| 165 | enableEvents: false |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 166 | |
David Bainbridge | 879439b | 2020-06-12 15:59:35 -0700 | [diff] [blame] | 167 | # Customization for BBSIM SADIS Servier |
| 168 | sadis: |
| 169 | config: |
| 170 | bbsim_sadis_server: |
| 171 | sleep_time: 5s |
| 172 | |
divyadesai | 59f987a | 2020-05-27 12:11:33 +0000 | [diff] [blame] | 173 | # START EFK Setup to push voltha logs |
| 174 | # elasticstack config |
| 175 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/elasticsearch |
| 176 | elasticsearch: |
| 177 | replicas: 1 |
| 178 | minimumMasterNodes: 1 |
| 179 | # set cpu and memory configuration |
| 180 | resources: |
| 181 | requests: |
| 182 | cpu: "400m" |
| 183 | memory: "1Gi" |
| 184 | limits: |
| 185 | cpu: "1000m" |
| 186 | memory: "2Gi" |
| 187 | # setup persistence volume.By default persistence volumeclaim is disabled |
| 188 | volumeClaimTemplate: |
| 189 | accessModes: ["ReadWriteOnce"] |
| 190 | resources: |
| 191 | requests: |
| 192 | storage: 5Gi |
| 193 | persistence: |
| 194 | enabled: false |
| 195 | # setup cluster health status as yellow |
| 196 | clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s" |
| 197 | |
| 198 | # kibana config |
| 199 | # ref: https://github.com/elastic/helm-charts/tree/7.7.0/kibana |
| 200 | kibana: |
| 201 | elasticsearchHosts: "http://elasticsearch-master:9200" |
| 202 | |
| 203 | # fluentd-elasticsearch config |
| 204 | # ref: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch |
| 205 | fluentd-elasticsearch: |
| 206 | elasticsearch: |
| 207 | # set elasticsearch host |
| 208 | hosts: ["elasticsearch-master:9200"] |
| 209 | sslVerify: false |
| 210 | |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 211 | # SHOCK THE MONKEY OR LET LOSE THE DOGS OF WAR |
| 212 | # The VOLTHA charts have support for adding extra labels to deployments and |
| 213 | # pods. These extra labels can be used to integrate with other utilities |
| 214 | # such as kube-monkey to add a bit of chaos to the cluster. Below are some |
| 215 | # settings that can be uncommented to opt-in VOLTHA deployments/pods to |
| 216 | # kube-monkey. For example, if you want ALL deployments and pods to opt-in |
| 217 | # then uncomment the `extra_deployment_labels` and `extra_pod_label` blocks. |
| 218 | # If you want to be more selected then comment the blocks that pertain to the |
| 219 | # targets you care about. |
| 220 | |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 221 | # extra_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 | # extra_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 | # rw_core_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 | # rw_core_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 | # ofagent_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 | 801a0ec | 2019-09-26 15:48:06 +0000 | [diff] [blame] | 255 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 256 | # ofagent_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 | 801a0ec | 2019-09-26 15:48:06 +0000 | [diff] [blame] | 262 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 263 | # openolt_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 | # openolt_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 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 276 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 277 | # openonu_deployment_labels: |
| 278 | # kube-monkey/enabled: enabled |
| 279 | # kube-monkey/identifier: monkey-victim |
| 280 | # kube-monkey/mtbf: 1 |
| 281 | # kube-monkey/kill-mode: fixed |
| 282 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 283 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 284 | # openonu_pod_labels: |
| 285 | # kube-monkey/enabled: enabled |
| 286 | # kube-monkey/identifier: monkey-victim |
| 287 | # kube-monkey/mtbf: 1 |
| 288 | # kube-monkey/kill-mode: fixed |
| 289 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 290 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 291 | # simolt_deployment_labels: |
| 292 | # kube-monkey/enabled: enabled |
| 293 | # kube-monkey/identifier: monkey-victim |
| 294 | # kube-monkey/mtbf: 1 |
| 295 | # kube-monkey/kill-mode: fixed |
| 296 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 297 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 298 | # simolt_pod_labels: |
| 299 | # kube-monkey/enabled: enabled |
| 300 | # kube-monkey/identifier: monkey-victim |
| 301 | # kube-monkey/mtbf: 1 |
| 302 | # kube-monkey/kill-mode: fixed |
| 303 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 304 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 305 | # simonu_deployment_labels: |
| 306 | # kube-monkey/enabled: enabled |
| 307 | # kube-monkey/identifier: monkey-victim |
| 308 | # kube-monkey/mtbf: 1 |
| 309 | # kube-monkey/kill-mode: fixed |
| 310 | # kube-monkey/kill-value: 1 |
David Bainbridge | 4974fcb | 2019-08-31 02:24:50 +0000 | [diff] [blame] | 311 | # |
Zack Williams | ded60cb | 2020-04-13 10:02:20 -0700 | [diff] [blame] | 312 | # simonu_pod_labels: |
| 313 | # kube-monkey/enabled: enabled |
| 314 | # kube-monkey/identifier: monkey-victim |
| 315 | # kube-monkey/mtbf: 1 |
| 316 | # kube-monkey/kill-mode: fixed |
| 317 | # kube-monkey/kill-value: 1 |