metallb ip

This commit is contained in:
2024-04-17 17:57:51 -04:00
parent 9b6c6da1b5
commit a1494927c0
2 changed files with 15 additions and 12 deletions

View File

@@ -1,12 +0,0 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteUDP
metadata:
name: wireguard-udp
namespace: wg-easy
spec:
entryPoints:
- wireguard-udp
routes:
- services:
- name: wg-easy
port: 51822

15
wg-easy/service-dns.yaml Normal file
View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: wg-easy-dns
namespace: wg-easy
annotations:
metallb.universe.tf/loadBalancerIPs: 192.168.2.249
spec:
type: LoadBalancer
selector:
app: wg-easy
ports:
- port: 51822
targetPort: 51822
protocol: UDP