trafik rework -> missing test on linux machine

This commit is contained in:
2024-03-31 18:55:22 +02:00
parent 4b6dbdcbf9
commit fe436fa4e4
34 changed files with 37 additions and 61 deletions

View File

@ -10,9 +10,6 @@ spec:
matchLabels:
app: traefik
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -6,4 +6,5 @@ namespace: traefik
resources:
- overlay-internal
- overlay-external
- shared

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- crds
- foreign