blob: 19c188abed5f2fa1ecd6e4aa0ee04f9c52099dc3 [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
25 spec:
26 terminationGracePeriodSeconds: 10
27 containers:
28 - name: netconf
29 image: voltha-netconf
30 imagePullPolicy: Never
31 ports:
32 - containerPort: 830
33 env:
34 - name: NETCONF_PORT
35 value: "830"
36 args:
37 - "/netconf/netconf/main.py"
38 - "-v"
39 - "--consul=consul:8500"
Richard Jankowskid7921b72018-02-20 16:55:12 -050040 - "--grpc-endpoint=voltha:50555"