Add k8s/apps/syncthing/syncthing-nas.yaml
All checks were successful
Check with kubeconform / lint (push) Successful in 11s
All checks were successful
Check with kubeconform / lint (push) Successful in 11s
This commit is contained in:
42
k8s/apps/syncthing/syncthing-nas.yaml
Normal file
42
k8s/apps/syncthing/syncthing-nas.yaml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
image:
|
||||||
|
tag: latest
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
type: hostPath
|
||||||
|
hostPath: "/mnt/storage/Storage/syncthing-config"
|
||||||
|
mountPath: "/var/syncthing"
|
||||||
|
storage:
|
||||||
|
enabled: true
|
||||||
|
type: hostPath
|
||||||
|
hostPath: "/mnt/storage/Storage/Syncthing-repos"
|
||||||
|
mountPath: "/Syncthing-repos"
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: nas.homenet
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: 8384
|
||||||
|
listen:
|
||||||
|
enabled: true
|
||||||
|
type: LoadBalancer
|
||||||
|
ports:
|
||||||
|
listen:
|
||||||
|
enabled: true
|
||||||
|
port: 30023
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 22000
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: syncthing
|
||||||
|
discovery:
|
||||||
|
enabled: true
|
||||||
|
type: NodePort
|
||||||
|
externalTrafficPolicy: Cluster
|
||||||
|
ports:
|
||||||
|
discovery:
|
||||||
|
enabled: true
|
||||||
|
port: 21027
|
||||||
|
protocol: UDP
|
||||||
|
targetPort: 21027
|
||||||
|
|
Reference in New Issue
Block a user