apiVersion: v1
kind: Service
metadata:
  name: applications
  labels:
    app: applications
    tier: backend
spec:
  type: LoadBalancer
  ports:
    - port: 5001
      targetPort: 5000
  externalIPs:
    - 192.168.64.2  # Minikube on Mac.
    - 172.17.0.2    # Minikube on AWS.
  selector:
    app: applications
    tier: backend
