trafik rework -> missing test on linux machine
This commit is contained in:
@ -10,9 +10,6 @@ spec:
|
||||
matchLabels:
|
||||
app: traefik
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 0
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
|
@ -1,10 +1,15 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
# Shared resouces for reuseability in multiple overlays.
|
||||
components:
|
||||
- crds
|
||||
|
||||
|
||||
resources:
|
||||
# Deployment
|
||||
- deployment-traefik.yaml
|
||||
# Objects
|
||||
- traefik-adguard-service-udp-dns.yaml
|
||||
- traefik-middleware-default-headers.yaml
|
||||
- traefik-service.yaml
|
||||
- networking
|
||||
|
@ -1,12 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: adguard-udp-dns
|
||||
namespace: traefik
|
||||
spec:
|
||||
selector:
|
||||
app: adguard
|
||||
ports:
|
||||
- port: 53
|
||||
targetPort: 53
|
||||
type: LoadBalancer
|
@ -5,3 +5,25 @@ metadata:
|
||||
namespace: traefik
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: web
|
||||
nodeport: 80
|
||||
- name: websecure
|
||||
port: 443
|
||||
protocol: TCP
|
||||
targetPort: websecure
|
||||
nodeport: 443
|
||||
- name: dns
|
||||
port: 53
|
||||
protocol: UDP
|
||||
targetPort: dns
|
||||
nodeport: 53
|
||||
- name: traefik
|
||||
port: 9000
|
||||
protocol: TCP
|
||||
targetPort: traefik
|
||||
nodeport: 9000
|
||||
|
@ -6,4 +6,5 @@ namespace: traefik
|
||||
resources:
|
||||
- overlay-internal
|
||||
- overlay-external
|
||||
- shared
|
||||
|
||||
|
@ -14,8 +14,6 @@ resources:
|
||||
|
||||
patches:
|
||||
- path: patches/traefik-service-patch.yaml
|
||||
- path: patches/adguard-service-patch.yaml
|
||||
|
||||
- path: patches/traefik-deployment-patch.yaml
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
|
@ -1,13 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: adguard-udp-dns
|
||||
namespace: traefik
|
||||
spec:
|
||||
selector:
|
||||
app: adguard
|
||||
ports:
|
||||
- port: 53
|
||||
targetPort: 53
|
||||
nodePort: 53
|
||||
type: NodePort
|
@ -5,19 +5,4 @@ metadata:
|
||||
namespace: traefik
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: web
|
||||
nodeport: 80
|
||||
- name: websecure
|
||||
port: 443
|
||||
protocol: TCP
|
||||
targetPort: websecure
|
||||
nodeport: 443
|
||||
- name: dns
|
||||
port: 53
|
||||
protocol: UDP
|
||||
targetPort: dns
|
||||
nodeport: 53
|
||||
|
||||
|
@ -5,17 +5,4 @@ metadata:
|
||||
namespace: traefik
|
||||
spec:
|
||||
loadBalancerIP: 192.168.178.102
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: web
|
||||
- name: websecure
|
||||
port: 443
|
||||
protocol: TCP
|
||||
targetPort: websecure
|
||||
- name: dns
|
||||
port: 53
|
||||
protocol: UDP
|
||||
targetPort: dns
|
||||
type: LoadBalancer
|
6
infrastructure/03-traefik/shared/kustomization.yaml
Normal file
6
infrastructure/03-traefik/shared/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- crds
|
||||
- foreign
|
Reference in New Issue
Block a user