add MetalLB support for apps adguard-home, gitea

This commit is contained in:
2024-08-26 10:47:45 +10:00
parent 358f5bf0cc
commit 70a742c89c
2 changed files with 5 additions and 1 deletions

View File

@@ -3,12 +3,14 @@ kind: Service
metadata:
name: adguard-home
namespace: adguard-home
annotations:
metallb.universe.tf/address-pool: k3s-cluster-ips
labels:
app.kubernetes.io/name: adguard-home
spec:
selector:
app.kubernetes.io/name: adguard-home
type: ClusterIP
type: LoadBalancer
internalTrafficPolicy: Cluster
ports:
- protocol: TCP

View File

@@ -17,6 +17,8 @@ service:
ports:
http: 10080
ssh: 10022
annotations:
metallb.universe.tf/address-pool: k3s-cluster-ips
ingress:
enabled: true
ingressClassName: "nginx"