about summary refs log blame commit diff
path: root/infra/kubernetes/tazblog/config.yaml
blob: 1ab6e9d2b421d35d6af18f7b9bb0e4b41d3dc261 (plain) (tree)
1
2
3
4
5
6
7
8
9







                   
             











                                                           












                      
---
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/tazjin.blog:{{ gitHEAD }}
        command: [ "tazblog" ]
---
apiVersion: v1
kind: Service
metadata:
  name: tazblog
spec:
  type: NodePort
  selector:
    app: tazblog
  ports:
    - protocol: TCP
      port: 8000
      targetPort: 8000