apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: tripinsights
  namespace: api
  annotations:
    kubernetes.io/ingress.class: addon-http-application-routing
spec:
  rules:
    - host: 1573a226b6784b418ab4.ukwest.aksapp.io
      http:
        paths:
         - path: /api/poi
           pathType: Prefix
           backend:
             service:
               name: poi
               port:
                 number: 80
         - path: /api/trips
           pathType: Prefix
           backend:
             service:
               name: trips
               port:
                 number: 80
         - path: /api/user
           pathType: Prefix
           backend:
             service:
               name: userprofile
               port:
                 number: 80
         - path: /api/user-java
           pathType: Prefix
           backend:
             service:
               name: userjava
               port:
                 number: 80
