apiVersion: v1 kind: Service metadata: name: gitlab-svc namespace: gitlab spec: ports: - name: http port: 80 protocol: TCP targetPort: 80 selector: app: gitlab