This commit is contained in:
2024-04-18 15:06:02 +02:00
parent 11716394e1
commit 40b25fca6a
12 changed files with 16 additions and 60 deletions

View File

@@ -32,10 +32,9 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: traefik
name: traefik-front
namespace: traefik
spec:
loadBalancerIP: 192.168.178.102
type: LoadBalancer
selector:
app: traefik
@@ -48,9 +47,4 @@ spec:
- name: websecure-front
port: 8443
protocol: TCP
targetPort: websecure-front
- name: dns
port: 53
protocol: UDP
targetPort: 53
targetPort: websecure-front

View File

@@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- base
- foreign
- patches/traefik-service-patch.yaml

View File

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

View File

@@ -2,8 +2,6 @@ apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: longhorn-frontend
labels:
local: "true"
spec:
entryPoints:
- web