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 | f6c28df | 2018-05-08 11:44:05 -0700 | [diff] [blame] | 18 | imagePullPolicy: IfNotPresent |
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 |
| 26 | |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 27 | |
| 28 | node_ports: |
| 29 | vcli_port: 30110 |
| 30 | |
Gopinath Taget | de4eae8 | 2018-04-25 17:15:44 -0700 | [diff] [blame] | 31 | services: |
| 32 | envoy: |
| 33 | serviceType: NodePort |
| 34 | serviceInfo: |
| 35 | ports: |
| 36 | - name: rest |
| 37 | port: 8882 |
| 38 | targetPort: 8882 |
| 39 | nodePort: 30125 |
| 40 | - name: mystery |
| 41 | port: 8001 |
| 42 | targetPort: 8001 |
| 43 | - name: mystery2 |
| 44 | port: 8443 |
| 45 | targetPort: 8443 |
| 46 | - name: grpc |
| 47 | port: 50555 |
| 48 | targetPort: 50555 |
| 49 | |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 50 | etcd-operator: |
| 51 | customResources: |
| 52 | createEtcdClusterCRD: true |
| 53 | |
Matteo Scandolo | f6c28df | 2018-05-08 11:44:05 -0700 | [diff] [blame] | 54 | envoyForEtcdImage: 'voltha/voltha-envoy:latest' |
| 55 | freeradiusImage: 'marcelmaatkamp/freeradius:latest' |
| 56 | grafanaImage: 'kamon/grafana_graphite:3.0' |
| 57 | netconfImage: 'voltha/voltha-netconf:latest' |
| 58 | ofagentImage: 'voltha/voltha-ofagent:latest' |
| 59 | dashdImage: 'voltha/voltha-dashd:latest' |
| 60 | shovelImage: 'voltha/voltha-shovel:latest' |
| 61 | vcliImage: 'voltha/voltha-cli:latest' |
| 62 | vcoreImage: 'voltha/voltha-voltha:latest' |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 63 | |
| 64 | kafka: |
| 65 | enabled: true |
| 66 | persistence: |
| 67 | enabled: false |
| 68 | zookeeper: |
| 69 | persistence: |
| 70 | enabled: false |
| 71 | etcd: |
| 72 | operator: |
| 73 | enabled: true |
| 74 | consul: |
| 75 | enabled: false |
| 76 | |
| 77 | |
| 78 | # Need the namespace global for kafka |
| 79 | global: |
| 80 | namespace: voltha |
| 81 | |
| 82 | stats: |
| 83 | #dashd_args: |
| 84 | #- "/dashd/dashd/main.py" |
| 85 | #- "--kafka={{ .Release.Name }}-kafka.default.svc.cluster.local" |
| 86 | #- "--grafana_url=http://admin:admin@grafana.$(NAMESPACE).svc.cluster.local:80/api" |
| 87 | #- "--topic=voltha.kpis" |
| 88 | #- "--consul=consul:8500" |
| 89 | |
| 90 | #shovel_args: |
| 91 | #- "/shovel/shovel/main.py" |
| 92 | #- "--kafka={{ .Release.Name }}-kafka.default.svc.cluster.local" |
| 93 | #- "--host=grafana.voltha.svc.cluster.local" |
| 94 | #- "--topic=voltha.kpis" |
| 95 | #- "--consul=consul:8500" |
| 96 | |
| 97 | vcli_args: |
| 98 | - "/cli/cli/setup.sh" |
| 99 | - "-C consul:8500" |
| 100 | - "-g voltha:50555" |
| 101 | - "-s voltha:18880" |
| 102 | - "-G" |
| 103 | |
| 104 | #vcore_etcd_args: |
| 105 | #- "voltha/voltha/main.py" |
| 106 | #- "-v" |
| 107 | #- "--etcd=etcd-restore-operator.default.svc.cluster.local:2379" |
| 108 | #- "--kafka={{ .Release.Name }}-kafka.default.svc.cluster.local" |
| 109 | #- "--rest-port=8880" |
| 110 | #- "--grpc-port=50556" |
| 111 | #- "--interface=eth1" |
| 112 | #- "--backend=etcd" |
| 113 | #- "--pon-subnet=10.38.0.0/12" |
| 114 | #- "--ponsim-comm=grpc" |
| 115 | |
| 116 | ofagent_args: |
| 117 | - "/ofagent/ofagent/main.py" |
| 118 | - "-v" |
| 119 | - "--consul=consul.$(NAMESPACE).svc.cluster.local:8500" |
Gopinath Taget | fff8934 | 2018-04-16 12:12:17 -0700 | [diff] [blame] | 120 | - "--controller=onos-voltha-openflow:6653" |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 121 | - "--grpc-endpoint=vcore.$(NAMESPACE).svc.cluster.local:50556" |
| 122 | - "--enable-tls" |
| 123 | - "--key-file=/ofagent/pki/voltha.key" |
| 124 | - "--cert-file=/ofagent/pki/voltha.crt" |
| 125 | |
| 126 | netconf_args: |
| 127 | - "/netconf/netconf/main.py" |
| 128 | - "-v" |
| 129 | - "--consul=consul:8500" |
Gopinath Taget | 98e42d6 | 2018-04-27 14:07:20 -0700 | [diff] [blame] | 130 | - "--grpc-endpoint=voltha:50555" |