blob: d83951a41555c2cb4467c161b69a6afae89aaea3 [file] [log] [blame]
HuabingZhaofe67ad72017-08-29 11:09:49 +08001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: msb-iag
5spec:
HuabingZhao77d44cd2017-08-30 09:30:03 +08006 replicas: {{ .Values.iagReplicas }}
HuabingZhaofe67ad72017-08-29 11:09:49 +08007 selector:
8 matchLabels:
9 app: msb-iag
10 template:
11 metadata:
12 labels:
13 app: msb-iag
14 name: msb-iag
15 spec:
16 hostname: msb-iag
17 containers:
18 - args:
19 image: nexus3.onap.org:10001/onap/msb/msb_apigateway
20 name: "msb-iag"
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:1"
28 ports:
29 - containerPort: {{ .Values.iagPort }}
30 name: msb-iag
31 readinessProbe:
32 tcpSocket:
33 port: {{ .Values.iagPort }}
34 initialDelaySeconds: 5
35 periodSeconds: 10
36 imagePullPolicy: "{{ .Values.pullPolicy}}"
37
38