--- apiVersion: v1 kind: Service metadata: name: gitea-service namespace: git-ops annotations: metallb.io/allow-shared-ip: "shared-ip-1" spec: loadBalancerIP: 192.168.1.230 type: LoadBalancer selector: app: gitea-app ports: - port: 3011 targetPort: 3000 protocol: TCP name: http - port: 22 targetPort: 22 name: ssh --- apiVersion: v1 kind: Service metadata: name: gitea-int-service namespace: git-ops spec: selector: app: gitea-app ports: - protocol: TCP port: 3000 targetPort: 3000 --- apiVersion: v1 kind: Service metadata: name: gitea-db-service namespace: git-ops spec: selector: app: gitea-db ports: - protocol: TCP port: 5432 targetPort: 5432