apiVersion: v1 kind: Service metadata: name: svc-gitea spec: selector: app.kubernetes.io/name: gitea ports: - name: http protocol: TCP port: 80 targetPort: 3000 - name: ssh protocol: TCP port: 22 targetPort: 3000