apiVersion: v1
kind: Service
metadata:
 labels:
   app: cities-rest
 name: lb-cities-rest
spec:
 type: LoadBalancer
 ports:
   # The port(s) that this service should serve on.
 - name: http
   port: 8080
   targetPort: 8080
 # Label keys and values that must match in order to receive traffic for this service.
 selector:
   app: cities-rest

