changed ports and services

This commit is contained in:
Steffen Illium 2024-04-19 08:16:17 +02:00
parent 03b067335b
commit 589bdab70d
10 changed files with 22 additions and 23 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,4 +6,3 @@ metadata:
spec:
ipAddressPools:
- local-pool
- front-pool

View File

@ -1,8 +0,0 @@
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: front-pool
spec:
addresses:
- 192.168.1.1-192.168.1.5
autoAssign: false

View File

@ -4,4 +4,4 @@ metadata:
name: local-pool
spec:
addresses:
- 192.168.178.101-192.168.178.105
- 192.168.178.100-192.168.178.110

View File

@ -3,10 +3,12 @@ kind: Kustomization
namespace: metallb-system
components:
- ../../components/local-region-selector.yaml
resources:
- base/01-metallb-advert.yaml
- base/01-metallb-pool-local.yaml
- base/01-metallb-pool-front.yaml
- github.com/metallb/metallb/config/native?ref=v0.14.4
configMapGenerator:
- name: config

View File

@ -4,7 +4,7 @@ metadata:
name: traefik-local
namespace: traefik
spec:
loadBalancerIP: 192.168.178.102
loadBalancerIP: 192.168.178.101
loadBalancerClass: metallb
type: LoadBalancer
selector:
@ -19,7 +19,6 @@ spec:
port: 443
protocol: TCP
targetPort: websecure-local
- name: dns
port: 53
protocol: UDP
@ -35,16 +34,23 @@ metadata:
name: traefik-front
namespace: traefik
spec:
type: LoadBalancer
type: NodePort
selector:
app: traefik
ports:
# Front
- name: web-front
port: 8000
port: 8080
protocol: TCP
targetPort: web-front
nodePort: 30080
- name: websecure-front
port: 8443
protocol: TCP
targetPort: websecure-front
targetPort: websecure-front
nodePort: 30443
- name: dns
port: 8053
protocol: UDP
targetPort: dns
nodePort: 30053