--- apiVersion: v1 kind: Service metadata: name: repo-api spec: selector: app: repo-api ports: - port: 8080 targetPort: 8080