Merge "Policy 1.1 in Kubernetes"
[oom.git] / kubernetes / msb / templates / msb-consul-deployment.yaml
1 apiVersion: extensions/v1beta1
2 kind: Deployment
3 metadata:
4   name: msb-consul
5   namespace: "{{ .Values.nsPrefix }}-msb"
6 spec:
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:
20         image: {{ .Values.image.consul }}
21         name: msb-consul
22         ports:
23         - containerPort: {{ .Values.consulPort }}
24           name: msb-consul
25         readinessProbe:
26           tcpSocket:
27             port: {{ .Values.consulPort }}
28           initialDelaySeconds: 5
29           periodSeconds: 10
30         imagePullPolicy: {{ .Values.pullPolicy }}