Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ingress path confusing #76

Closed
mikepc opened this issue Nov 12, 2017 · 3 comments
Closed

ingress path confusing #76

mikepc opened this issue Nov 12, 2017 · 3 comments
Labels
kind/documentation Categorizes issue or PR as related to documentation. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@mikepc
Copy link

mikepc commented Nov 12, 2017

  paths:
  - path: /posts/*
    backend:
      serviceName: post-service
      servicePort: 8585

Requests to /posts are sent to the default backend (404!), while sub-path requests are forwarded accordingly.

There needs to be sufficient documentation around this so that we know how to configure the ingress forwarding. I've tried adding 2 separate paths one for /posts, and /posts/* and that didn't work either.

How can I send all requests for /posts to my post-service backend?

@nicksardo
Copy link
Contributor

...
  rules:
  - http:
      paths:
      - backend:
          serviceName: my-echo-svc
          servicePort: my-http-port
        path: /http
      - backend:
          serviceName: my-echo-svc
          servicePort: my-http-port
        path: /http/*

yielded this in GCP Console which is consistent with their documentation: https://cloud.google.com/compute/docs/load-balancing/http/url-map
GCP Console

@nicksardo nicksardo added the kind/documentation Categorizes issue or PR as related to documentation. label Feb 7, 2018
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 8, 2018
@rramkumar1
Copy link
Contributor

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to documentation. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

5 participants