apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: kur8-ingress-srv
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/use-regex: "true"
spec:
  rules:
    - http:
        paths:
          - path: /api/v1/?(.*)
            pathType: Prefix
            backend:
              service:
                name: prometheus-k8s
                port:
                  number: 9090
          - path: /?(.*)
            pathType: Prefix
            backend:
              service:
                name: kur8-srv
                port:
                  number: 3000
