diff --git a/infrastructure/03-traefik/overlay-external/patches/traefik-deployment-patch.yaml b/infrastructure/03-traefik/overlay-external/patches/traefik-deployment-patch.yaml index 5b0b0a4..9c1d489 100644 --- a/infrastructure/03-traefik/overlay-external/patches/traefik-deployment-patch.yaml +++ b/infrastructure/03-traefik/overlay-external/patches/traefik-deployment-patch.yaml @@ -6,7 +6,7 @@ metadata: spec: template: spec: - hostNetwork: true + hostNetwork: false containers: - name: traefik args: diff --git a/infrastructure/03-traefik/overlay-external/traefik-service.yaml b/infrastructure/03-traefik/overlay-external/traefik-service.yaml new file mode 100644 index 0000000..4db1181 --- /dev/null +++ b/infrastructure/03-traefik/overlay-external/traefik-service.yaml @@ -0,0 +1,24 @@ +apiVersion: v1 +kind: Service +metadata: + name: traefik + namespace: traefik +spec: + 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 + +