apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: nginx
  name: mlpipe-ingress
spec:
  rules:
  - host: mlpipe1.realstudy.net
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: jupyterlab1
            port:
              number: 8888
  - host: mlpipe2.realstudy.net
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: jupyterlab2
            port:
              number: 8888
