feat(homelab): setup kube node, add gitea, nfs-utils

This commit is contained in:
2025-12-26 00:19:34 -08:00
parent d43b0343f6
commit dbde68a0a4
10 changed files with 92 additions and 3 deletions

View File

@@ -7,3 +7,5 @@ resources:
- ./cert-manager/config.yaml
- ./routes/media.yaml
- ./routes/minecraft/main.yaml
- ./routes/gitea/ssh.yaml
- ./routes/gitea/http.yaml

View File

@@ -5,7 +5,7 @@ metadata:
namespace: metallb-system
spec:
addresses:
- 192.168.122.132/26
- 192.168.18.31-192.168.18.61
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement

View File

@@ -0,0 +1,15 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: gitea
namespace: git
spec:
parentRefs:
- name: traefik-gateway
namespace: kube-system
hostnames:
- "git-new.lucalise.ca"
rules:
- backendRefs:
- name: gitea-http
port: 3000

View File

@@ -0,0 +1,13 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: gitea-ssh
namespace: git
spec:
entryPoints:
- ssh
routes:
- match: HostSNI(`*`)
services:
- name: gitea-ssh
port: 22

View File

@@ -23,7 +23,7 @@ spec:
default: true
exposedPort: 22
protocol: TCP
minecraft-main:
minecraft:
port: 25565
expose:
default: true