blob: a5d014aae438f76136262bb9f609f0837a540ffc [file] [log] [blame]
HuabingZhaoc2b4fcf2017-08-29 10:48:25 +08001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: msb-discovery
5spec:
6 replicas: 2
7 selector:
8 matchLabels:
9 app: msb-discovery
10 template:
11 metadata:
12 labels:
13 app: msb-discovery
14 name: msb-discovery
15 spec:
16 hostname: msb-discovery
17 containers:
18 - args:
19 image: nexus3.onap.org:10001/onap/msb/msb_discovery
20 name: "msb-discovery"
21 env:
22 - name: CONSUL_IP
23 value: "{{ .Values.consulClusterIP }}"
24 ports:
HuabingZhao4ea06552017-08-29 15:30:10 +080025 - containerPort: {{ .Values.discoveryPort }}
HuabingZhaoc2b4fcf2017-08-29 10:48:25 +080026 name: msb-discovery
27 readinessProbe:
28 tcpSocket:
HuabingZhao4ea06552017-08-29 15:30:10 +080029 port: {{ .Values.discoveryPort }}
HuabingZhaoc2b4fcf2017-08-29 10:48:25 +080030 initialDelaySeconds: 5
31 periodSeconds: 10
32 imagePullPolicy: "{{ .Values.pullPolicy }}"
33
34