From c13727ce56a99aae8de3af75f6e8f822d83bba4b Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 8 Aug 2024 12:24:28 -0700 Subject: [PATCH] Init Traefik TCP router for passing *.k3s.jafner.net and k3s.jafner.net through to cluster ingress controller --- .../config/traefik/config/silver-hand.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 homelab/fighter/config/traefik/config/silver-hand.yaml diff --git a/homelab/fighter/config/traefik/config/silver-hand.yaml b/homelab/fighter/config/traefik/config/silver-hand.yaml new file mode 100644 index 00000000..a0f2d7ca --- /dev/null +++ b/homelab/fighter/config/traefik/config/silver-hand.yaml @@ -0,0 +1,15 @@ +tcp: + routers: + silver-hand: + rule: "HostSNI(`k3s.jafner.net`) || HostSNIRegexp(`*.k3s.jafner.net`)" + service: "silver-hand@file" + tls: + passthrough: true + + services: + silver-hand: + loadBalancer: + servers: + - address: "http://192.168.1.31:80" + - address: "http://192.168.1.32:80" + - address: "http://192.168.1.33:80" \ No newline at end of file