tvl-depot/ops/infra/kubernetes/tazblog/config.yaml
Vincent Ambo 03bfe08e1d chore: Significantly restructure folder layout
This moves the various projects from "type-based" folders (such as
"services" or "tools") into more appropriate semantic folders (such as
"nix", "ops" or "web").

Deprecated projects (nixcon-demo & gotest) which only existed for
testing/demonstration purposes have been removed.

(Note: *all* builds are broken with this commit)
2019-12-20 20:18:41 +00:00

34 lines
549 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: tazblog
labels:
app: tazblog
spec:
replicas: 2
selector:
matchLabels:
app: tazblog
template:
metadata:
labels:
app: tazblog
spec:
containers:
- name: tazblog
image: nixery.local/shell/services.tazblog:{{ gitHEAD }}
command: [ "tazblog" ]
---
apiVersion: v1
kind: Service
metadata:
name: tazblog
spec:
type: NodePort
selector:
app: tazblog
ports:
- protocol: TCP
port: 8000
targetPort: 8000