aboutsummaryrefslogtreecommitdiff
path: root/kubernetes/puter/puter-deployment.yaml
blob: fb6a475a8563a3d2e2212f59234e992303109f53 (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    kompose.cmd: kompose convert
    kompose.version: 1.34.0 (cbf2835db)
  labels:
    io.kompose.service: puter
  name: puter
spec:
  replicas: 1
  selector:
    matchLabels:
      io.kompose.service: puter
  strategy:
    type: Recreate
  template:
    metadata:
      annotations:
        kompose.cmd: kompose convert
        kompose.version: 1.34.0 (cbf2835db)
      labels:
        io.kompose.service: puter
    spec:
      containers:
        - env:
            - name: PGID
              value: "1000"
            - name: PUID
              value: "1000"
            - name: TZ
              value: Europe/Paris
          image: ghcr.io/heyputer/puter:latest
          name: puter
          ports:
            - containerPort: 4100
              protocol: TCP
          volumeMounts:
            - mountPath: /etc/puter
              name: puter-claim0
            - mountPath: /var/puter
              name: puter-claim1
      restartPolicy: Always
      volumes:
        - name: puter-claim0
          persistentVolumeClaim:
            claimName: puter-claim0
        - name: puter-claim1
          persistentVolumeClaim:
            claimName: puter-claim1