blob: 91202ff9b869bd6fdfa10da95466c4191c2ec4bd [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
Richard Jankowskid4454382018-02-08 16:21:43 -05008 namespace: voltha
Richard Jankowskic3c291c2018-02-02 13:57:33 -05009spec:
10 replicas: 1
11 template:
12 metadata:
13 labels:
14 app: dashd
15 spec:
16 containers:
17 - name: dashd
18 image: voltha-dashd
19 imagePullPolicy: Never
20 env:
21 - name: NAMESPACE
22 valueFrom:
23 fieldRef:
24 fieldPath: metadata.namespace
25 args:
26 - "/dashd/dashd/main.py"
27 - "--kafka=kafka.$(NAMESPACE).svc.cluster.local"
28 - "--consul=consul:8500"
29 - "--grafana_url=http://admin:admin@grafana.$(NAMESPACE).svc.cluster.local:80/api"
30 - "--topic=voltha.kpis"
31---
32#
33# The shovel deployment
34#
35apiVersion: apps/v1beta1
36kind: Deployment
37metadata:
38 name: shovel
Richard Jankowskid4454382018-02-08 16:21:43 -050039 namespace: voltha
Richard Jankowskic3c291c2018-02-02 13:57:33 -050040spec:
41 replicas: 1
42 template:
43 metadata:
44 labels:
45 app: shovel
46 spec:
47 containers:
48 - name: shovel
49 image: voltha-shovel
50 imagePullPolicy: Never
51 env:
52 - name: NAMESPACE
53 valueFrom:
54 fieldRef:
55 fieldPath: metadata.namespace
56 args:
57 - "/shovel/shovel/main.py"
58 - "--kafka=kafka.$(NAMESPACE).svc.cluster.local"
59 - "--consul=consul:8500"
60 - "--host=grafana.$(NAMESPACE).svc.cluster.local"
61 - "--topic=voltha.kpis"