From 28a9c01d3633b8f078f65d46d74ca6fe10b06173 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 19 Aug 2019 03:10:53 +0100 Subject: feat(infra/k8s): Add in-cluster tazblog deployment via Nixery 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. --- infra/kubernetes/primary-cluster.yaml | 1 + infra/kubernetes/tazblog/config.yaml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 infra/kubernetes/tazblog/config.yaml (limited to 'infra') diff --git a/infra/kubernetes/primary-cluster.yaml b/infra/kubernetes/primary-cluster.yaml index b3298d19e6bf..c8a6423e341c 100644 --- a/infra/kubernetes/primary-cluster.yaml +++ b/infra/kubernetes/primary-cluster.yaml @@ -10,3 +10,4 @@ include: bucket: tazjins-data account: nixery@tazjins-infrastructure.iam.gserviceaccount.com repo: ssh://source.developers.google.com:2022/p/tazjins-infrastructure/r/monorepo + - name: tazblog 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" ] -- cgit 1.4.1