ports
This commit is contained in:
@@ -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
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- base
|
||||
- foreign
|
||||
- patches/traefik-service-patch.yaml
|
||||
|
||||
@@ -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
|
||||
@@ -2,8 +2,6 @@ apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: longhorn-frontend
|
||||
labels:
|
||||
local: "true"
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
|
||||
Reference in New Issue
Block a user