apiVersion: v1 kind: Service metadata: name: gitlab labels: name: gitlab spec: type: LoadBalancer ports: - name: http port: 80 targetPort: 80 protocol: TCP - name: ssh port: 22 targetPort: 22 protocol: TCP selector: name: gitlab