blob: 91202ff9b869bd6fdfa10da95466c4191c2ec4bd [file] [log] [blame]
#
# The dashd deployment
#
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: dashd
namespace: voltha
spec:
replicas: 1
template:
metadata:
labels:
app: dashd
spec:
containers:
- name: dashd
image: voltha-dashd
imagePullPolicy: Never
env:
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
args:
- "/dashd/dashd/main.py"
- "--kafka=kafka.$(NAMESPACE).svc.cluster.local"
- "--consul=consul:8500"
- "--grafana_url=http://admin:admin@grafana.$(NAMESPACE).svc.cluster.local:80/api"
- "--topic=voltha.kpis"
---
#
# The shovel deployment
#
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: shovel
namespace: voltha
spec:
replicas: 1
template:
metadata:
labels:
app: shovel
spec:
containers:
- name: shovel
image: voltha-shovel
imagePullPolicy: Never
env:
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
args:
- "/shovel/shovel/main.py"
- "--kafka=kafka.$(NAMESPACE).svc.cluster.local"
- "--consul=consul:8500"
- "--host=grafana.$(NAMESPACE).svc.cluster.local"
- "--topic=voltha.kpis"