Add Traefik README and update service configuration annotations

This commit is contained in:
2025-05-05 09:42:02 -07:00
parent 8898976651
commit 1b8604db79
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
# Traefik
- https://doc.traefik.io/traefik/providers/kubernetes-ingress/
Ingress RDs can be create for any service. The routes specificed in the Ingress are added automatically to the Traefik proxy.
Traefik serves all incoming network traffic on ports 80 and 443 to their appropriate services based on the route.

View File

@@ -6,6 +6,7 @@ metadata:
name: traefik name: traefik
namespace: kube-system namespace: kube-system
annotations: annotations:
# Get a stable IP from MetalLB
metallb.universe.tf/address-pool: production metallb.universe.tf/address-pool: production
metallb.universe.tf/allow-shared-ip: traefik-lb metallb.universe.tf/allow-shared-ip: traefik-lb
labels: labels:
@@ -24,4 +25,5 @@ spec:
- name: websecure - name: websecure
port: 443 port: 443
targetPort: websecure targetPort: websecure
externalTrafficPolicy: Local externalTrafficPolicy: Local