apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ingress  
  annotations:
    kubernetes.io/ingress.class: "nginx"  
spec:
  rules:
  - host: "william.bilsdon.com"
  - http:
      paths:
        - path: /comments/
          pathType: Prefix
          backend:
            service:
              name: sentiment-api
              port:
                number: 8000
        - path: /
          pathType: Prefix
          backend:
            service:
              name: sentiment-app
              port:
                number: 3000 