about summary refs log tree commit diff
path: root/services/tazblog/k8s/tazblog-db-rc.yaml
blob: 26d730c4df27a84b7bc7d3891354f57eecba6681 (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
apiVersion: v1
kind: ReplicationController
metadata:
  name: tazblog-db
spec:
  selector:
    app: tazblog-db
  template:
    metadata:
      labels:
        app: tazblog-db
    spec:
      containers:
        - image: tazjin/tazblog-haskell:master
          name: tazblog-db
          command: ["tazblog-db"]
          ports:
            - containerPort: 8070
          volumeMounts:
            - name: tazblog-state
              mountPath: /var/tazblog
      volumes:
        - name: tazblog-state
          gcePersistentDisk:
            pdName: tazblog-state
            fsType: ext4