Merge "Draft Cloudify blueprint for provisioning ONAP"
[oom.git] / kubernetes / msb / templates / msb-consul-deployment.yaml
1 apiVersion: extensions/v1beta1
2 kind: Deployment
3 metadata:
4   name: msb-consul
5 spec:
6   replicas: 1
7   selector:
8     matchLabels:
9       app: msb-consul
10   template:
11     metadata:
12       labels:
13         app: msb-consul
14       name: msb-consul
15     spec:
16       hostname: msb-consul
17       containers:
18       - args:
19         image: consul
20         name: "msb-consul"
21         ports:
22         - containerPort: {{ .Values.consulPort }}
23           name: msb-consul
24         readinessProbe:
25           tcpSocket:
26             port: {{ .Values.consulPort }}
27           initialDelaySeconds: 5
28           periodSeconds: 10
29         imagePullPolicy: "{{ .Values.pullPolicy }}"