summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/templates/msb-consul-deployment.yaml
blob: de33961f8a0b19b98befe1bf7c88f705a9e3d24a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: msb-consul
spec:
  replicas: 1
  selector:
    matchLabels:
      app: msb-consul
  template:
    metadata:
      labels:
        app: msb-consul
      name: msb-consul
    spec:
      hostname: msb-consul
      containers:
      - args:
        image: {{ .Values.image.consul }}
        name: msb-consul
        ports:
        - containerPort: {{ .Values.consulPort }}
          name: msb-consul
        readinessProbe:
          tcpSocket:
            port: {{ .Values.consulPort }}
          initialDelaySeconds: 5
          periodSeconds: 10
        imagePullPolicy: {{ .Values.pullPolicy }}