apiVersion: v1 kind: Service metadata: name: gitea namespace: gitea spec: selector: app: gitea ports: - name: http protocol: TCP port: 3000 targetPort: http - name: ssh protocol: TCP port: 2222 targetPort: ssh