about summary refs log tree commit diff
path: root/ops/infra/kubernetes/tazblog/config.yaml
blob: 165a30f6839bb7b764107d310ae0e2b60a8de086 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
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