apiVersion: v1
kind: Service
metadata:
  labels:
    app: ms-master
  name: svc-master
spec:
  ports:
  - port: 8000
    protocol: TCP
    targetPort: 8000
    # If you set the `spec.type` field to `NodePort` and you want a specific port number,
    # you can specify a value in the `spec.ports[*].nodePort` field.
    nodePort: 30080
  selector:
    app: ms-master
  type: NodePort
status:
  loadBalancer: {}