blob: 1487dc9d7dbfe3cf783f9af9ab770c5810818f9a [file] [log] [blame]
Richard Jankowskid7921b72018-02-20 16:55:12 -05001apiVersion: v1
2kind: Service
3metadata:
4 name: netconf
5 namespace: voltha
6spec:
7 selector:
8 app: netconf
9 clusterIP: None
10 ports:
11 - port: 830
12 targetPort: 830
13---
14apiVersion: apps/v1beta1
15kind: Deployment
16metadata:
17 name: netconf
18 namespace: voltha
19spec:
20 replicas: 1
21 template:
22 metadata:
23 labels:
24 app: netconf
Stephane Barbarie2d4e07f2018-03-26 16:46:45 -040025 annotations:
26 cni: "calico"
Richard Jankowskid7921b72018-02-20 16:55:12 -050027 spec:
28 terminationGracePeriodSeconds: 10
29 containers:
30 - name: netconf
31 image: voltha-netconf
32 imagePullPolicy: Never
33 ports:
34 - containerPort: 830
35 env:
36 - name: NETCONF_PORT
37 value: "830"
38 args:
39 - "/netconf/netconf/main.py"
40 - "-v"
41 - "--consul=consul:8500"
Richard Jankowskid7921b72018-02-20 16:55:12 -050042 - "--grpc-endpoint=voltha:50555"