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.
This commit is contained in:
parent
a4ef595fef
commit
28a9c01d36
2 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
|
|
21
infra/kubernetes/tazblog/config.yaml
Normal file
21
infra/kubernetes/tazblog/config.yaml
Normal file
|
@ -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" ]
|
Loading…
Reference in a new issue