apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: my-ingress
  annotations:
    kubernetes.io/ingress.class: traefik
    ingress.kubernetes.io/ssl-redirect: "false"
    ingress.kubernetes.io/rewrite-target: "/"
spec:
  rules:
    - http:
        paths:
          - path: /red
            pathType: Exact
            backend:
              service:
                name: red
                port: 
                  number: 80
          - path: /blue
            pathType: Exact
            backend:
              service:
                name: blue
                port:
                  number: 80
