blob: 13c4655e2945788985b4472ccf8a388e9d5f9369 [file] [log] [blame]
Richard Jankowskic3c291c2018-02-02 13:57:33 -05001#
2# The dashd deployment
3#
4apiVersion: apps/v1beta1
5kind: Deployment
6metadata:
7 name: dashd
8spec:
9 replicas: 1
10 template:
11 metadata:
12 labels:
13 app: dashd
14 spec:
15 containers:
16 - name: dashd
17 image: voltha-dashd
18 imagePullPolicy: Never
19 env:
20 - name: NAMESPACE
21 valueFrom:
22 fieldRef:
23 fieldPath: metadata.namespace
24 args:
25 - "/dashd/dashd/main.py"
26 - "--kafka=kafka.$(NAMESPACE).svc.cluster.local"
27 - "--consul=consul:8500"
28 - "--grafana_url=http://admin:admin@grafana.$(NAMESPACE).svc.cluster.local:80/api"
29 - "--topic=voltha.kpis"
30---
31#
32# The shovel deployment
33#
34apiVersion: apps/v1beta1
35kind: Deployment
36metadata:
37 name: shovel
38spec:
39 replicas: 1
40 template:
41 metadata:
42 labels:
43 app: shovel
44 spec:
45 containers:
46 - name: shovel
47 image: voltha-shovel
48 imagePullPolicy: Never
49 env:
50 - name: NAMESPACE
51 valueFrom:
52 fieldRef:
53 fieldPath: metadata.namespace
54 args:
55 - "/shovel/shovel/main.py"
56 - "--kafka=kafka.$(NAMESPACE).svc.cluster.local"
57 - "--consul=consul:8500"
58 - "--host=grafana.$(NAMESPACE).svc.cluster.local"
59 - "--topic=voltha.kpis"