This commit is contained in:
2024-04-23 19:04:03 +02:00
parent c5d218049d
commit 2b1e9fc2eb
24 changed files with 19 additions and 18 deletions

View File

@ -0,0 +1,50 @@
apiVersion: v1
kind: Service
metadata:
name: traefik-local
namespace: traefik
spec:
loadBalancerIP: 192.168.178.102
type: LoadBalancer
selector:
app: traefik
ports:
# Local
- name: web
port: 80
protocol: TCP
targetPort: web-local
- name: websecure
port: 443
protocol: TCP
targetPort: websecure-local
- name: dns
port: 53
protocol: UDP
targetPort: dns
- name: traefik
port: 9000
protocol: TCP
targetPort: traefik
---
apiVersion: v1
kind: Service
metadata:
name: traefik-front
namespace: traefik
spec:
type: NodePort
selector:
app: traefik
ports:
# Front
- name: websecure
port: 443
protocol: TCP
targetPort: websecure-front
nodePort: 30443
- name: dns
port: 53
protocol: UDP
targetPort: dns
nodePort: 30053