blob: eb75cd9e42de7289e08786e375ed88dc72fe01a5 [file] [log] [blame]
HuabingZhao4ea06552017-08-29 15:30:10 +08001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: msb-eag
5spec:
HuabingZhao77d44cd2017-08-30 09:30:03 +08006 replicas: {{ .Values.eagReplicas }}
HuabingZhao4ea06552017-08-29 15:30:10 +08007 selector:
8 matchLabels:
9 app: msb-eag
10 template:
11 metadata:
12 labels:
13 app: msb-eag
14 name: msb-eag
15 spec:
16 hostname: msb-eag
17 containers:
18 - args:
19 image: nexus3.onap.org:10001/onap/msb/msb_apigateway
20 name: "msb-eag"
21 env:
22 - name: CONSUL_IP
23 value: "{{ .Values.consulClusterIP}}"
24 - name: SDCLIENT_IP
25 value: "{{ .Values.discoveryClusterIP}}"
26 - name: ROUTE_LABELS
27 value: "visualRange:0"
28 ports:
29 - containerPort: {{ .Values.eagPort }}
30 name: msb-eag
31 readinessProbe:
32 tcpSocket:
33 port: {{ .Values.eagPort }}
34 initialDelaySeconds: 5
35 periodSeconds: 10
36 imagePullPolicy: "{{ .Values.pullPolicy}}"
37
38