Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 1 | # Copyright 2017-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | pull_docker_registry: |
| 16 | k8s_docker_registry: 'k8s.gcr.io/' |
| 17 | |
Matteo Scandolo | e2965c9 | 2018-05-08 13:22:20 -0700 | [diff] [blame] | 18 | imagePullPolicy: Always |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 19 | |
Gopinath Taget | fff8934 | 2018-04-16 12:12:17 -0700 | [diff] [blame] | 20 | replicas: |
| 21 | vcore: 1 |
| 22 | vcli: 1 |
| 23 | ofagent: 1 |
| 24 | netconf: 1 |
| 25 | envoy_for_etcd: 1 |
Scott Baker | 08b9f45 | 2018-09-19 16:28:13 -0700 | [diff] [blame] | 26 | alarm_generator: 1 |
Gopinath Taget | fff8934 | 2018-04-16 12:12:17 -0700 | [diff] [blame] | 27 | |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 28 | |
| 29 | node_ports: |
| 30 | vcli_port: 30110 |
| 31 | |
Gopinath Taget | de4eae8 | 2018-04-25 17:15:44 -0700 | [diff] [blame] | 32 | services: |
| 33 | envoy: |
| 34 | serviceType: NodePort |
| 35 | serviceInfo: |
| 36 | ports: |
| 37 | - name: rest |
| 38 | port: 8882 |
| 39 | targetPort: 8882 |
| 40 | nodePort: 30125 |
| 41 | - name: mystery |
| 42 | port: 8001 |
| 43 | targetPort: 8001 |
| 44 | - name: mystery2 |
| 45 | port: 8443 |
| 46 | targetPort: 8443 |
Gopinath Taget | 7f357cf | 2018-07-03 12:34:38 -0700 | [diff] [blame] | 47 | nodePort: 32443 |
Gopinath Taget | de4eae8 | 2018-04-25 17:15:44 -0700 | [diff] [blame] | 48 | - name: grpc |
| 49 | port: 50555 |
| 50 | targetPort: 50555 |
| 51 | |
Gopinath Taget | 5e49fe3 | 2018-06-25 17:02:05 -0700 | [diff] [blame] | 52 | etcd: |
| 53 | operator: |
| 54 | enabled: true |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 55 | etcd-operator: |
| 56 | customResources: |
Gopinath Taget | 5e49fe3 | 2018-06-25 17:02:05 -0700 | [diff] [blame] | 57 | size: 1 |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 58 | createEtcdClusterCRD: true |
| 59 | |
Zack Williams | 675b2a2 | 2018-08-27 14:22:55 -0700 | [diff] [blame] | 60 | kafkaReleaseName: cord-kafka |
Gopinath Taget | 5e49fe3 | 2018-06-25 17:02:05 -0700 | [diff] [blame] | 61 | etcdReleaseName: voltha-etcd |
| 62 | |
| 63 | consul: |
| 64 | enabled: false |
| 65 | |
Matteo Scandolo | c0f201d | 2018-09-07 15:56:39 -0700 | [diff] [blame] | 66 | envoyForEtcdImage: 'voltha/voltha-envoy:latest' |
Jonathan Hart | 65c480e | 2018-05-14 16:32:16 -0700 | [diff] [blame] | 67 | freeradiusImage: 'tpdock/freeradius:latest' |
Matteo Scandolo | c0f201d | 2018-09-07 15:56:39 -0700 | [diff] [blame] | 68 | netconfImage: 'voltha/voltha-netconf:latest' |
| 69 | ofagentImage: 'voltha/voltha-ofagent:latest' |
| 70 | vcliImage: 'voltha/voltha-cli:latest' |
| 71 | vcoreImage: 'voltha/voltha-voltha:latest' |
Matteo Scandolo | 8bf260d | 2018-09-19 11:36:29 -0700 | [diff] [blame] | 72 | httpBackendImage: 'gcr.io/google_containers/defaultbackend:1.4' |
| 73 | ingressControllerImage: 'quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.10.2' |
Matteo Scandolo | c0f201d | 2018-09-07 15:56:39 -0700 | [diff] [blame] | 74 | alarmGeneratorImage: "voltha/voltha-alarm-generator:latest" |
Jonathan Hart | 65c480e | 2018-05-14 16:32:16 -0700 | [diff] [blame] | 75 | |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 76 | # Need the namespace global for kafka |
| 77 | global: |
| 78 | namespace: voltha |
| 79 | |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 80 | vcli_args: |
| 81 | - "/cli/cli/setup.sh" |
| 82 | - "-C consul:8500" |
| 83 | - "-g voltha:50555" |
| 84 | - "-s voltha:18880" |
| 85 | - "-G" |
| 86 | |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 87 | ofagent_args: |
| 88 | - "/ofagent/ofagent/main.py" |
| 89 | - "-v" |
| 90 | - "--consul=consul.$(NAMESPACE).svc.cluster.local:8500" |
Jonathan Hart | 9f638ff | 2018-08-22 18:19:15 -0700 | [diff] [blame] | 91 | - "--controller=onos-openflow.default.svc.cluster.local:6653" |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 92 | - "--grpc-endpoint=vcore.$(NAMESPACE).svc.cluster.local:50556" |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 93 | |
| 94 | netconf_args: |
| 95 | - "/netconf/netconf/main.py" |
| 96 | - "-v" |
| 97 | - "--consul=consul:8500" |
Gopinath Taget | 98e42d6 | 2018-04-27 14:07:20 -0700 | [diff] [blame] | 98 | - "--grpc-endpoint=voltha:50555" |
Scott Baker | 08b9f45 | 2018-09-19 16:28:13 -0700 | [diff] [blame] | 99 | |
| 100 | # set alarm_generator_enable to true to enable alarm generator container. |
| 101 | # uncomment the intf_id and onu_id arguments if no olt is physically present, and a fake onu_id should be used. |
| 102 | |
| 103 | alarm_generator_enable: false |
| 104 | alarm_generator_args: |
| 105 | - "--consul=consul:8500" |
| 106 | - "--grpc-endpoint=voltha:50555" |
| 107 | - "--global_request" |
| 108 | - "--rate=1" |
| 109 | - "--duration=2" |
| 110 | #- "--intf_id=0" |
| 111 | #- "--onu_id=00012bc90d6552dd" |