deploy syncthing
This commit is contained in:
37
apps/syncthing/deployment.yaml
Normal file
37
apps/syncthing/deployment.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: syncthing
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: syncthing
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: syncthing
|
||||
spec:
|
||||
containers:
|
||||
- name: syncthing
|
||||
image: syncthing
|
||||
resources:
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
cpu: "500m"
|
||||
ports:
|
||||
- containerPort: 8384
|
||||
name: syncthing-web
|
||||
protocol: TCP
|
||||
- containerPort: 22000
|
||||
protocol: TCP
|
||||
name: syncthing-listen
|
||||
- containerPort: 22000
|
||||
protocol: UDP
|
||||
name: syncthing-discover
|
||||
volumeMounts:
|
||||
- name: persistence
|
||||
mountPath: /var/syncthing
|
||||
volumes:
|
||||
- name: persistence
|
||||
persistentVolumeClaim:
|
||||
claimName: syncthing-claim
|
Reference in New Issue
Block a user