title: How can I use Ingress to comunicate with pod rest endpoint?
body: <p>I have a Service TPLM with a pod. This pod is running a REST API with the endpoints /acquire and /release.</p>
  <p>In the ingress yaml file I specify that requests to &quot;/tplm&quot; should be redirected to that pod, but I can´t reach the endpoints (/acquire and /release). I only reach the pod.</p>
  <p>Ingress yaml file:</p>
  <pre><code>kind: Ingress
  metadata:
    name: iesd-ingress
    annotations:
      nginx.ingress.kubernetes.io/rewrite-target: /
  spec:
    rules:
      - host: isos.iesd.pt
        http:
          paths:
            - path: /tplm
              pathType: Prefix
              backend:
                service:
                  name: lockmanager-service # Needs to match the service name
                  port:
                    number: 9002
  </code></pre>