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

View File

@ -21,3 +21,4 @@ spec:
name: dns
type: LoadBalancer
loadBalancerIP: 192.168.178.101
loadBalancerClass: metallb

View File

@ -7,10 +7,10 @@ metadata:
spec:
ports:
- name: web
port: 80
port: 8400
targetPort: 3000
- name: ssh
port: 22
port: 8422
targetPort: 22
selector:
app: gitea

View File

@ -7,10 +7,10 @@ metadata:
namespace: kubernetes-dashboard
spec:
ports:
- port: 443
- port: 5443
name: websecure
targetPort: 8443
- port: 80
- port: 580
name: web
targetPort: 9090
selector:

View File

@ -5,7 +5,7 @@ metadata:
spec:
ports:
- name: http
port: 80
targetPort: 80
port: 8500
targetPort: http
selector:
app: nextcloud-app

View File

@ -71,7 +71,8 @@ spec:
name: nextcloud-secret
key: MYSQL_PASSWORD
ports:
- containerPort: 80
- name: http
containerPort: 80
protocol: TCP
resources: {}
volumeMounts:

View File

@ -7,7 +7,7 @@ metadata:
spec:
ports:
- name: http
port: 8000
port: 8700
targetPort: 8000
selector:
app: paperless-webserver

View File

@ -7,7 +7,7 @@ metadata:
spec:
ports:
- name: "web"
port: 80
port: 8600
targetPort: 80
selector:
app: vaultwarden

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

View File

@ -6,8 +6,8 @@ metadata:
name: website
spec:
ports:
- name: "http"
port: 80
- name: http
port: 9999
targetPort: 80
selector:
app: website