apiVersion: v1
kind: Service
metadata:
  #annotations:
  #  service.beta.kubernetes.io/alicloud-loadbalancer-address-type: intranet
  labels:
    app: nexus
  name: nexus
  namespace: default
spec:
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: 8081
  selector:
    app: nexus
  type: LoadBalancer
