about summary refs log tree commit diff
path: root/services/tazblog/k8s/tazblog-db-rc.yaml
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-06-28T21·55+0100
committerVincent Ambo <tazjin@google.com>2019-06-28T21·55+0100
commit2373c925e18963c6f2698ba4c45d74196f3aaaf3 (patch)
tree38a0c804881c71b24391129d9ca4092de1a7b583 /services/tazblog/k8s/tazblog-db-rc.yaml
parentaeeb11f1b76729115c4db98f419cbcda1a0f7660 (diff)
refactor: Move tazblog into monorepo structure
It's happening!
Diffstat (limited to 'services/tazblog/k8s/tazblog-db-rc.yaml')
-rw-r--r--services/tazblog/k8s/tazblog-db-rc.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/services/tazblog/k8s/tazblog-db-rc.yaml b/services/tazblog/k8s/tazblog-db-rc.yaml
new file mode 100644
index 000000000000..26d730c4df27
--- /dev/null
+++ b/services/tazblog/k8s/tazblog-db-rc.yaml
@@ -0,0 +1,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