about summary refs log blame commit diff
path: root/k8s/tazblog-db-rc.yaml
blob: 26d730c4df27a84b7bc7d3891354f57eecba6681 (plain) (tree)

























                                              
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