Add Kubernetes manifests for self-hosted services

This commit is contained in:
2026-06-28 13:53:49 +03:00
committed by ExQz
parent eaba9643a0
commit 3b1998f376
32 changed files with 727 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: immich-server-ingress
namespace: immich # Ensure this matches your app's namespace
annotations:
# Forces Cilium to assign a unique IP from your 10.1.0.x pool
ingress.cilium.io/loadbalancer-mode: "dedicated"
spec:
ingressClassName: cilium
rules:
- host: "photos.mariushome.lt"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
# CHANGE THIS to your actual internal service name
name: immich-server
port:
number: 2283
+12
View File
@@ -0,0 +1,12 @@
apiVersion: "cilium.io/v2alpha1"
kind: CiliumL2AnnouncementPolicy
metadata:
name: "l2-policy"
spec:
externalIPs: true
loadBalancerIPs: true
# Optional: Limit which nodes announce the IPs
nodeSelector:
matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: DoesNotExist
+8
View File
@@ -0,0 +1,8 @@
apiVersion: "cilium.io/v2"
kind: CiliumLoadBalancerIPPool
metadata:
name: "lan-pool"
spec:
blocks:
- start: "10.1.0.101" # Example range
stop: "10.1.0.199"