about summary refs log tree commit diff
path: root/ops/infra/kubernetes/website/config.yaml
blob: 02de735b05d09b54fc6d9db49548c66934606bef (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
35
36
37
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: website
  labels:
    app: website
spec:
  replicas: 3
  selector:
    matchLabels:
      app: website
  template:
    metadata:
      labels:
        app: website
    spec:
      containers:
      - name: website
        image: nixery.local/shell/web.homepage:{{ gitHEAD }}
        env:
          - name: CONTAINER_SETUP
            value: "true"
        command: [ "homepage" ]
---
apiVersion: v1
kind: Service
metadata:
  name: website
spec:
  type: NodePort
  selector:
    app: website
  ports:
    - protocol: TCP
      port: 8080
      targetPort: 8080