about summary refs log tree commit diff
path: root/tazblog/tazblog.yaml
blob: 35275daddd22d090b11c3de5ecf18e307a5b2109 (plain) (blame)
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
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: tazblog
spec:
  replicas: 2
  template:
    metadata:
      labels:
        app: tazblog
    spec:
      containers:
        - image: eu.gcr.io/composite-watch-759/tazblog-haskell:f33723a
          imagePullPolicy: Always
          name: tazblog
          command: ["tazblog", "--dbHost", "tazblog-db.default.svc.cluster.local"]
---
apiVersion: v1
kind: Service
metadata:
  name: tazblog-priv
  labels:
    app: tazblog
  annotations:
    acme/certificate: "www.tazj.in"
spec:
  selector:
    app: tazblog
  ports:
    - port: 80
      targetPort: 8000
      name: tazblog-http