about summary refs log tree commit diff
path: root/infra/kubernetes/tazblog/config.yaml
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-19T02·10+0100
committerVincent Ambo <tazjin@google.com>2019-08-19T02·10+0100
commit28a9c01d3633b8f078f65d46d74ca6fe10b06173 (patch)
tree4ce0fcd10665a0f99d3be56b9724b0da06265ea3 /infra/kubernetes/tazblog/config.yaml
parenta4ef595fef4d575e4618128325c3f3f7671bbc32 (diff)
feat(infra/k8s): Add in-cluster tazblog deployment via Nixery r/40
First deployment actually using a Nixery image and `gitHEAD`.

This does not actually serve a working blog for various reasons. The
current storage mechanism (acid-state) isn't really appropriate
anymore and I'll need to change that soon.
Diffstat (limited to 'infra/kubernetes/tazblog/config.yaml')
-rw-r--r--infra/kubernetes/tazblog/config.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/infra/kubernetes/tazblog/config.yaml b/infra/kubernetes/tazblog/config.yaml
new file mode 100644
index 000000000000..dee75cb995b7
--- /dev/null
+++ b/infra/kubernetes/tazblog/config.yaml
@@ -0,0 +1,21 @@
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: tazblog
+  labels:
+    app: tazblog
+spec:
+  replicas: 1
+  selector:
+    matchLabels:
+      app: tazblog
+  template:
+    metadata:
+      labels:
+        app: tazblog
+    spec:
+      containers:
+      - name: tazblog
+        image: nixery.local/shell/tazjin.blog:{{ gitHEAD }}
+        command: [ "tazblog" ]