Files
k3s-at-home/clusters/ipv6/git-ops/gitea/gitea-svc.yml
aggarwalakshun 70b4bf40c2
All checks were successful
Validate Kubernetes Manifests / kubeconform (push) Successful in 35s
renovate / renovate (push) Successful in 2m20s
add lb for gitea
2026-01-30 05:14:14 +05:30

51 lines
724 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: gitea-int-service
namespace: git-ops
spec:
selector:
app: gitea-app
ports:
- protocol: TCP
port: 3000
targetPort: 3000
name: http
- protocol: TCP
port: 22
targetPort: 22
name: ssh
---
apiVersion: v1
kind: Service
metadata:
name: gitea-db
namespace: git-ops
spec:
ports:
- port: 5432
targetPort: 5432
selector:
app: gitea-db
clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
name: gitea-lb-service
namespace: git-ops
spec:
selector:
app: gitea-app
ports:
- port: 3000
targetPort: 3000
name: http
- port: 22
targetPort: 22
name: ssh
type: LoadBalancer