blob: fc8a95a8382810648aa5d4d13c5ec97f8ffc421b [file] [log] [blame]
HuabingZhaof2a9f562017-08-26 11:49:59 +08001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: msb-consul
HuabingZhao3f1a25e2017-09-02 14:45:28 +08005 namespace: "{{ .Values.nsPrefix }}-msb"
HuabingZhaof2a9f562017-08-26 11:49:59 +08006spec:
7 replicas: 1
8 selector:
9 matchLabels:
10 app: msb-consul
11 template:
12 metadata:
13 labels:
14 app: msb-consul
15 name: msb-consul
16 spec:
17 hostname: msb-consul
18 containers:
19 - args:
HuabingZhao14391b42017-09-02 14:38:07 +080020 image: {{ .Values.image.consul }}
21 name: msb-consul
HuabingZhaof2a9f562017-08-26 11:49:59 +080022 ports:
HuabingZhao4ea06552017-08-29 15:30:10 +080023 - containerPort: {{ .Values.consulPort }}
HuabingZhaof2a9f562017-08-26 11:49:59 +080024 name: msb-consul
25 readinessProbe:
26 tcpSocket:
HuabingZhao4ea06552017-08-29 15:30:10 +080027 port: {{ .Values.consulPort }}
HuabingZhaof2a9f562017-08-26 11:49:59 +080028 initialDelaySeconds: 5
29 periodSeconds: 10
HuabingZhao14391b42017-09-02 14:38:07 +080030 imagePullPolicy: {{ .Values.pullPolicy }}