Add Traefik README and update service configuration annotations
This commit is contained in:
7
infrastructure_setup/traefik/README.md
Normal file
7
infrastructure_setup/traefik/README.md
Normal 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.
|
@@ -6,6 +6,7 @@ metadata:
|
||||
name: traefik
|
||||
namespace: kube-system
|
||||
annotations:
|
||||
# Get a stable IP from MetalLB
|
||||
metallb.universe.tf/address-pool: production
|
||||
metallb.universe.tf/allow-shared-ip: traefik-lb
|
||||
labels:
|
||||
@@ -24,4 +25,5 @@ spec:
|
||||
- name: websecure
|
||||
port: 443
|
||||
targetPort: websecure
|
||||
externalTrafficPolicy: Local
|
||||
externalTrafficPolicy: Local
|
||||
|
Reference in New Issue
Block a user