apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: quakeflow-ingress
  annotations:
    kubernetes.io/ingress.global-static-ip-name: "quakeflow-static-ip"
spec:
  # defaultBackend:
  #   service:
  #     name: phasenet-api
  #     port:
  #       number: 8000
  rules:
  - host: phasenet.quakeflow.com
    http: 
      paths:
      - path: /*
        pathType: ImplementationSpecific
        backend:
          service:
            name: phasenet-api
            port:
              number: 8000
  - host: gamma.quakeflow.com
    http: 
      paths:
      - path: /*
        pathType: ImplementationSpecific
        backend:
          service:
            name: gmma-api
            port:
              number: 8001