<p>I am trying to configure an Ingress to map to 2 different services but when I use anything other than <code>/</code> as the <code>path</code> I get a <code>Cannot GET /node-web-app-svc</code> error.  I have tried using <code>Exact</code> as the <code>pathType</code> but it doesn't help.  I am running this on a k3s cluster with Traefik.</p>
<p><strong>EDIT</strong></p>
<p>It seems like its trying to hit the deployment at an undefined path.  So i htink it actually is hitting the expected service.  Is there a way to rewrite <code>/node-web-app-svc</code> -&gt; <code>/</code> of the service?</p>
<p>Here is the yaml:</p>
<pre><code>apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nginx-ingress
  annotations:
    kubernetes.io/ingress.class: traefik
spec:
  rules:
  - http:
      paths:
      - path: /node-web-app-svc
        pathType: Prefix
        backend:
          service:
            name: node-web-app-svc
            port:
              number: 3000
      - path: /node-web-app2-svc
        pathType: Prefix
        backend:
          service:
            name: node-web-app2-svc
            port:
              number: 3000
</code></pre>
<p>Any help here would be appreciated.  Let me know if more details would help.</p>
<p>Thanks</p>

craigtb
<p>Need to leverage <code>traefik.ingress.kubernetes.io/rewrite-target: /app-root</code></p>
