apiVersion: v1
kind: Service
metadata:
  name: rest
  labels:
    run: rest-load-balancer
spec:
  selector:
    app: rest-deployment
  ports:
  - protocol: TCP
    port: 8081
    targetPort: 8081
  selector:
    run: rest-load-balancer
  type: NodePort
status:
  loadBalancer: {}