This commit is contained in:
2024-06-06 16:58:04 -04:00
parent 09e8fd669e
commit 7d24c579c0
2 changed files with 23 additions and 11 deletions

23
syncthing/service-lb.yaml Normal file
View File

@@ -0,0 +1,23 @@
apiVersion: v1
kind: Service
metadata:
name: syncthing-lb
namespace: syncthing
annotations:
metallb.universe.tf/loadBalancerIPs: 192.168.2.247
spec:
selector:
app: syncthing
type: LoadBalancer
ports:
- name: tcp
port: 22000
targetPort: tcp
- name: quic
port: 22000
protocol: UDP
targetPort: quic
- name: discovery
port: 21027
protocol: UDP
targetPort: discovery

View File

@@ -10,14 +10,3 @@ spec:
- name: http
port: 8384
targetPort: http
- name: tcp
port: 22000
targetPort: tcp
- name: quic
port: 22000
protocol: UDP
targetPort: quic
- name: discovery
port: 21027
protocol: UDP
targetPort: discovery