summary refs log tree commit diff
path: root/tazblog/tazblog-db.yaml
blob: b9d8fb1040f55307ccdb4a765f8fc179efe1a4f3 (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
34
35
36
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: tazblog-db
spec:
  template:
    metadata:
      labels:
        app: tazblog-db
    spec:
      containers:
        - image: eu.gcr.io/composite-watch-759/tazblog-haskell:f33723a
          name: tazblog-db
          command: ["tazblog-db"]
          volumeMounts:
            - name: tazblog-state
              mountPath: /var/tazblog
      volumes:
        - name: tazblog-state
          gcePersistentDisk:
            pdName: tazblog-state
            fsType: ext4
---
apiVersion: v1
kind: Service
metadata:
  name: tazblog-db
  labels:
    app: tazblog-db
spec:
  selector:
    app: tazblog-db
  ports:
    - port: 8070
      name: tazblog-db