summaryrefslogtreecommitdiffstats
path: root/roles/openshift_service_catalog_broker/templates/broker.j2
blob: d6e3c419403792aa0eca8da194c0018a711b6852 (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
30
31
32
33
34
35
36
37
38
39
40
41
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
  name: ups-broker
  labels:
    app: ups-broker
spec:
  replicas: 1
  selector:
    matchLabels:
      app: ups-broker
  template:
    metadata:
      labels:
        app: ups-broker
    spec:
      containers:
      - name: ups-broker
        image: quay.io/kubernetes-service-catalog/user-broker:canary
        imagePullPolicy: Always
        args:
        - --port
        - "8080"
        ports:
        - containerPort: 8080
        readinessProbe:
          tcpSocket:
            port: 8080
          failureThreshold: 1
          initialDelaySeconds: 10
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 2
        livenessProbe:
          tcpSocket:
            port: 8080
          failureThreshold: 3
          initialDelaySeconds: 10
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 2