apiVersion: v1
kind: Service
metadata:
  name: nexus3
spec:
  type: NodePort
  ports:
  - name: http
    protocol: TCP
    port: 8081
    targetPort: 8081
  - name: docker
    protocol: TCP
    port: 5003
    targetPort: 5003
  selector:
    app: nexus3
