blob: 9a85a174a3892020330fcd081fefef5f49467224 (
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
|
apiVersion: apps/v1
kind: Deployment
metadata:
name: syncthing
namespace: services
spec:
replicas: 1
selector:
matchLabels:
app: syncthing
template:
metadata:
labels:
app: syncthing
spec:
containers:
- name: syncthing
image: lscr.io/linuxserver/syncthing:latest
ports:
- containerPort: 8384
- containerPort: 22000
volumeMounts:
- name: syncthing-config
mountPath: /config
- name: syncthing-data
mountPath: /data
volumes:
- name: syncthing-config
persistentVolumeClaim:
claimName: syncthing-config-pvc
- name: syncthing-data
persistentVolumeClaim:
claimName: syncthing-data-pvc
|