mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 04:59:54 +00:00
LB
This commit is contained in:
23
syncthing/service-lb.yaml
Normal file
23
syncthing/service-lb.yaml
Normal 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user