diff options
author | Vincent Ambo <tazjin@gmail.com> | 2015-11-20T00·59+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2015-11-20T00·59+0100 |
commit | df93cead2801ac6fa28d21ef46751bcc4f95dc2b (patch) | |
tree | f6f996f82d5282e971507906f1cb5b9e0f1b2828 /k8s/tazblog-db-rc.yaml | |
parent | 1342e8fb1d86c9f1349dff2c587be5b4f67b6b86 (diff) |
[k8s] Add Kubernetes service & RC files
Diffstat (limited to 'k8s/tazblog-db-rc.yaml')
-rw-r--r-- | k8s/tazblog-db-rc.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/k8s/tazblog-db-rc.yaml b/k8s/tazblog-db-rc.yaml new file mode 100644 index 000000000000..26d730c4df27 --- /dev/null +++ b/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 |